Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16F18323-E/RFQTP Datasheet(PDF) 139 Page - Microchip Technology

Part # PIC16F18323-E/RFQTP
Description  Full-Featured, Low Pin Count Microcontrollers with XLP
PDF  442 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F18323-E/RFQTP Datasheet(HTML) 139 Page - Microchip Technology

Back Button PIC16F18323-E/RFQTP Datasheet HTML 135Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 136Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 137Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 138Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 139Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 140Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 141Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 142Page - Microchip Technology PIC16F18323-E/RFQTP Datasheet HTML 143Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 139 / 442 page
background image
 2015 Microchip Technology Inc.
Preliminary
DS40001799A-page 139
PIC16(L)F18313/18323
12.3
Bidirectional Pins
PPS selections for peripherals with bidirectional
signals on a single pin must be made so that the PPS
input and PPS output select the same pin. Peripherals
that have bidirectional signals include:
• EUSART (synchronous operation)
• MSSP (I2C)
12.4
PPS Lock
The PPS includes a mode in which all input and output
selections can be locked to prevent inadvertent
changes. PPS selections are locked by setting the
PPSLOCKED bit of the PPSLOCK register. Setting and
clearing this bit requires a special sequence as an extra
precaution against inadvertent changes. Examples of
setting and clearing the PPSLOCKED bit are shown in
Example 12-1.
EXAMPLE 12-1:
PPS LOCK/UNLOCK
SEQUENCE
12.5
PPS Permanent Lock
The PPS can be permanently locked by setting the
PPS1WAY Configuration bit. When this bit is set, the
PPSLOCKED bit can only be cleared and set one time
after a device Reset. This allows for clearing the
PPSLOCKED bit so that the input and output selections
can be made during initialization. When the
PPSLOCKED bit is set after all selections have been
made, it will remain set and cannot be cleared until after
the next device Reset event.
12.6
Operation During Sleep
PPS input and output selections are unaffected by
Sleep.
12.7
Effects of a Reset
A device Power-On-Reset (POR) clears all PPS input
and output selections to their default values. All other
Resets leave the selections unchanged. Default input
selections are shown in pin allocation Table 1 and
Table 2.
Note:
The I2C™ default input pins are I2C and
SMBus compatible and are the only pins
on
the
PIC16(L)F18313
with
this
compatibility. For the PIC16(L)F18323, in
addition to the default pins as described
above, RA1 and RA2 are also I2C™ and
SMBus compatible. Clock and data
signals can be routed to any pin, however
pins without I2C compatibility will operate
at standard TTL/ST logic levels as
selected by the INVLV register.
; suspend interrupts
bcf
INTCON,GIE
;
BANKSEL PPSLOCK
; set bank
; required sequence, next 5 instructions
movlw
0x55
movwf
PPSLOCK
movlw
0xAA
movwf
PPSLOCK
; Set PPSLOCKED bit to disable writes or
; Clear PPSLOCKED bit to enable writes
bsf
PPSLOCK,PPSLOCKED
; restore interrupts
bsf
INTCON,GIE



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com