English
Language : 

PIC16F1938 Datasheet, PDF (441/452 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16(L)F1938/9
INDEX
A
A/D
Specifications............................................................ 401
Absolute Maximum Ratings (PIC16F/LF1938/39) ............ 379
AC Characteristics
Industrial and Extended ............................................ 394
Load Conditions ........................................................ 393
ACKSTAT ......................................................................... 272
ACKSTAT Status Flag ...................................................... 272
ADC .................................................................................. 153
Acquisition Requirements ......................................... 163
Associated registers.................................................. 165
Block Diagram........................................................... 153
Calculating Acquisition Time..................................... 163
Channel Selection..................................................... 154
Configuration............................................................. 154
Configuring Interrupt ................................................. 158
Conversion Clock...................................................... 154
Conversion Procedure .............................................. 158
Internal Sampling Switch (RSS) Impedance.............. 163
Interrupts................................................................... 156
Operation .................................................................. 157
Operation During Sleep ............................................ 157
Port Configuration ..................................................... 154
Reference Voltage (VREF)......................................... 154
Source Impedance.................................................... 163
Special Event Trigger................................................ 157
Starting an A/D Conversion ...................................... 156
ADCON0 Register....................................................... 37, 159
ADCON1 Register....................................................... 37, 160
ADDFSR ........................................................................... 369
ADDWFC .......................................................................... 369
ADRESH Register............................................................... 37
ADRESH Register (ADFM = 0) ......................................... 161
ADRESH Register (ADFM = 1) ......................................... 162
ADRESL Register (ADFM = 0).......................................... 161
ADRESL Register (ADFM = 1).......................................... 162
Alternate Pin Function....................................................... 126
Analog-to-Digital Converter. See ADC
ANSELA Register ............................................................. 130
ANSELB Register ............................................................. 135
ANSELD Register ............................................................. 142
ANSELE Register ............................................................. 145
APFCON Register............................................................. 127
Assembler
MPASM Assembler................................................... 414
B
BAUDCON Register.......................................................... 300
BF ............................................................................. 272, 274
BF Status Flag .......................................................... 272, 274
Block Diagram
Capacitive Sensing ........................................... 317, 318
Block Diagrams
(CCP) Capture Mode Operation ............................... 208
ADC .......................................................................... 153
ADC Transfer Function ............................................. 164
Analog Input Model ........................................... 164, 178
CCP PWM................................................................. 212
Clock Source............................................................... 64
Comparator ............................................................... 174
Compare ................................................................... 210
Crystal Operation .................................................. 66, 67
Digital-to-Analog Converter (DAC) ........................... 170
EUSART Receive ..................................................... 290
EUSART Transmit .................................................... 289
External RC Mode ...................................................... 67
Fail-Safe Clock Monitor (FSCM)................................. 75
Generic I/O Port........................................................ 125
Interrupt Logic............................................................. 89
LCD Bias Voltage Generation .................................. 335
LCD Clock Generation.............................................. 334
On-Chip Reset Circuit................................................. 81
PIC16F193X/LF193X ........................................... 16, 24
PWM (Enhanced) ..................................................... 216
Resonator Operation .................................................. 66
Timer0 ...................................................................... 187
Timer1 ...................................................................... 191
Timer1 Gate.............................................. 196, 197, 198
Timer2/4/6 ................................................................ 203
Voltage Reference.................................................... 151
Voltage Reference Output Buffer Example .............. 170
BORCON Register.............................................................. 83
BRA .................................................................................. 370
Break Character (12-bit) Transmit and Receive ............... 309
Brown-out Reset (BOR)...................................................... 83
Specifications ........................................................... 399
Timing and Characteristics ....................................... 398
C
C Compilers
MPLAB C18.............................................................. 414
CALL................................................................................. 371
CALLW ............................................................................. 371
Capacitive Sensing ........................................................... 317
Associated registers w/ Capacitive Sensing............. 325
Specifications ........................................................... 410
Capture Module. See Enhanced Capture/Compare/
PWM(ECCP)
Capture/Compare/PWM ................................................... 207
Capture/Compare/PWM (CCP)
Associated Registers w/ Capture ............................. 209
Associated Registers w/ Compare ........................... 211
Associated Registers w/ PWM ......................... 215, 229
Capture Mode........................................................... 208
CCPx Pin Configuration............................................ 208
Compare Mode......................................................... 210
CCPx Pin Configuration.................................... 210
Software Interrupt Mode ........................... 208, 210
Special Event Trigger ....................................... 210
Timer1 Mode Resource ............................ 208, 210
Prescaler .................................................................. 208
PWM Mode
Duty Cycle ........................................................ 213
Effects of Reset ................................................ 215
Example PWM Frequencies and
Resolutions, 20 MHZ ................................ 214
Example PWM Frequencies and
Resolutions, 32 MHZ ................................ 214
Example PWM Frequencies and
Resolutions, 8 MHz .................................. 214
Operation in Sleep Mode.................................. 215
Resolution ........................................................ 214
System Clock Frequency Changes .................. 215
PWM Operation ........................................................ 212
PWM Overview......................................................... 212
PWM Period ............................................................. 213
 2011 Microchip Technology Inc.
Preliminary
DS41574A-page 441