English
Language : 

PIC16F1938_13 Datasheet, PDF (475/488 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver
INDEX
A
A/D
Specifications............................................................ 398
Absolute Maximum Ratings (PIC16(L)F1938/9) ............... 377
AC Characteristics
Industrial and Extended ............................................ 392
Load Conditions ........................................................ 391
ACKSTAT ......................................................................... 270
ACKSTAT Status Flag ...................................................... 270
ADC .................................................................................. 149
Acquisition Requirements ......................................... 159
Associated registers.................................................. 161
Block Diagram........................................................... 149
Calculating Acquisition Time..................................... 159
Channel Selection..................................................... 150
Configuration............................................................. 150
Configuring Interrupt ................................................. 154
Conversion Clock...................................................... 150
Conversion Procedure .............................................. 154
Internal Sampling Switch (RSS) Impedance.............. 159
Interrupts................................................................... 152
Operation .................................................................. 153
Operation During Sleep ............................................ 153
Port Configuration ..................................................... 150
Reference Voltage (VREF)......................................... 150
Source Impedance.................................................... 159
Special Event Trigger................................................ 153
Starting an A/D Conversion ...................................... 152
ADCON0 Register....................................................... 33, 155
ADCON1 Register....................................................... 33, 156
ADDFSR ........................................................................... 367
ADDWFC .......................................................................... 367
ADRESH Register............................................................... 33
ADRESH Register (ADFM = 0) ......................................... 157
ADRESH Register (ADFM = 1) ......................................... 158
ADRESL Register (ADFM = 0).......................................... 157
ADRESL Register (ADFM = 1).......................................... 158
Alternate Pin Function....................................................... 122
Analog-to-Digital Converter. See ADC
ANSELA Register ............................................................. 126
ANSELB Register ............................................................. 131
ANSELD Register ............................................................. 138
ANSELE Register ............................................................. 141
APFCON Register............................................................. 123
Assembler
MPASM Assembler................................................... 446
B
BAUDCON Register.......................................................... 298
BF ............................................................................. 270, 272
BF Status Flag .......................................................... 270, 272
Block Diagram
Capacitive Sensing ........................................... 315, 316
Block Diagrams
(CCP) Capture Mode Operation ............................... 206
ADC .......................................................................... 149
ADC Transfer Function ............................................. 160
Analog Input Model ........................................... 160, 174
CCP PWM................................................................. 210
Clock Source............................................................... 60
Comparator ............................................................... 170
Compare ................................................................... 208
Crystal Operation .................................................. 62, 63
 2011-2013 Microchip Technology Inc.
PIC16(L)F1938/9
Digital-to-Analog Converter (DAC) ........................... 166
EUSART Receive ..................................................... 288
EUSART Transmit .................................................... 287
External RC Mode ...................................................... 63
Fail-Safe Clock Monitor (FSCM)................................. 71
Generic I/O Port........................................................ 121
Interrupt Logic............................................................. 85
LCD Clock Generation.............................................. 332
On-Chip Reset Circuit................................................. 77
PIC16(L)F1938/9 ........................................................ 12
PIC16(L)F1938/9, Core .............................................. 20
PWM (Enhanced) ..................................................... 214
Resonator Operation .................................................. 62
Timer0 ...................................................................... 185
Timer1 ...................................................................... 189
Timer1 Gate.............................................. 194, 195, 196
Timer2/4/6 ................................................................ 201
Voltage Reference.................................................... 147
Voltage Reference Output Buffer Example .............. 166
BORCON Register.............................................................. 79
BRA .................................................................................. 368
Break Character (12-bit) Transmit and Receive ............... 307
Brown-out Reset (BOR)...................................................... 79
Timing and Characteristics ....................................... 395
C
C Compilers
MPLAB C18.............................................................. 446
CALL................................................................................. 369
CALLW ............................................................................. 369
Capacitive Sensing ........................................................... 315
Associated registers w/ Capacitive Sensing............. 323
Specifications ........................................................... 407
Capture Module. See Enhanced Capture/Compare/
PWM(ECCP)
Capture/Compare/PWM ................................................... 205
Capture/Compare/PWM (CCP)
Associated Registers w/ Capture ............................. 207
Associated Registers w/ Compare ........................... 209
Associated Registers w/ PWM ......................... 213, 227
Capture Mode........................................................... 206
CCPx Pin Configuration............................................ 206
Compare Mode......................................................... 208
CCPx Pin Configuration.................................... 208
Software Interrupt Mode ........................... 206, 208
Special Event Trigger ....................................... 208
Timer1 Mode Resource ............................ 206, 208
Prescaler .................................................................. 206
PWM Mode
Duty Cycle ........................................................ 211
Effects of Reset ................................................ 213
Example PWM Frequencies and
Resolutions, 20 MHZ................................ 212
Example PWM Frequencies and
Resolutions, 32 MHZ................................ 212
Example PWM Frequencies and
Resolutions, 8 MHz .................................. 212
Operation in Sleep Mode.................................. 213
Resolution ........................................................ 212
System Clock Frequency Changes .................. 213
PWM Operation ........................................................ 210
PWM Overview......................................................... 210
PWM Period ............................................................. 211
PWM Setup .............................................................. 211
DS40001574C-page 475