MCP19116/7
DS20005479C-page 238 2015-2018 Microchip Technology Inc.
PMDATL Register ............................................................. 120
PORTGPA................................................................. 125, 133
ANSELA Register ..................................................... 126
Associated Registers ................................................ 129
Functions and Output Priorities................................. 126
Interrupt-on-Change.................................................. 125
Output Priority ........................................................... 126
Register............................................................. 125, 127
Weak Pull-Ups .......................................................... 125
PORTGPB................................................................. 129, 133
ANSELB Register ..................................................... 129
Associated Registers ................................................ 132
Functions and Output Priorities................................. 130
Interrupt-on-Change.................................................. 129
Output Priority ........................................................... 130
Register............................................................. 129, 130
Weak Pull-Ups .......................................................... 129
Power-Down Mode (Sleep) ............................................... 115
Associated Registers ................................................ 116
Power-On Reset (POR) ...................................................... 98
Power-Up Timer (PWRT) .................................................. 100
Primary Input Current Offset Adjust .................................... 44
Program Memory
Organization................................................................ 81
Protection.................................................................... 94
Programming, Device Instructions .................................... 211
Pulse-Width Modulation
Control Logic............................................................. 165
Pulse-Width Modulation. See PWM
PWM ................................................................................... 36
Associated Registers ................................................ 159
Control Logic............................................................. 165
Duty Cycle................................................................. 159
Enhanced Module ..................................................... 157
Fixed Frequency ......................................................... 20
Operation During Sleep ............................................ 159
Output ....................................................................... 158
Period........................................................................ 158
Requirements.............................................................. 36
Simplified Diagram.................................................... 158
Stand-Alone Mode .................................................... 157
Standard Mode ......................................................... 157
Steering....................................................................... 49
Switching Frequency Synchronization Mode ............ 157
Timing Diagram........................................................... 36
R
Read-Modify-Write Operations.......................................... 211
Registers
ABECON (Analog Block Enable Control).................... 51
ADCON0 (A/D Control 0) .......................................... 143
ADCON0 (Analog-to-Digital Control) .......................... 57
ADCON1 (A/D Control 1) .......................................... 144
ADRESH (ADC Result High) .................................... 144
ADRESL (ADC Result Low) ...................................... 144
ANSELA (Analog Select GPA).................................. 128
ANSELB (Analog Select GPB).................................. 132
CALWD1 (Calibration Word 1).................................... 59
CALWD10 (Calibration Word 10)................................ 66
CALWD11 (Calibration Word 11)................................ 68
CALWD2 (Calibration Word 2).................................... 60
CALWD3 (Calibration Word 3).................................... 61
CALWD4 (Calibration Word 4).................................... 61
CALWD5 (Calibration Word 5).................................... 62
CALWD6 (Calibration Word 6).................................... 62
CALWD7 (Calibration Word 7).................................... 63
CALWD8 (Calibration Word 8).................................... 64
CALWD9 (Calibration Word 9).................................... 65
CCDCON (Dual Capture/Compare Control Module) 163
CONFIG (Configuration Word) ................................... 93
DEADCON (Driver Dead Time Control)...................... 47
DESATCON (Desaturation Comparator Control) ....... 43
FSR (File Select Register) .......................................... 91
General Purpose Register .......................................... 82
ICLEBCON (Input Current Leading Edge Blanking Con-
trol) ..................................................................... 45
ICOACON (Input Current Offset Adjust Control) ........ 44
INDF ........................................................................... 91
INTCON (Interrupt Control)....................................... 107
IOCA (Interrupt-on-Change PORTGPA)................... 134
IOCB (Interrupt-on-Change PORTGPB)................... 134
MODECON (Master/Slave and RFB MUX Control).... 52
OSCTUNE (Oscillator Tuning).................................... 95
OVCON (Output Overvoltage Comparator Control) ... 41
OVREFCON (Output Overvoltage Detect Level)........ 42
PCON (Power Control) ..................................... 100, 102
PE1 (Analog Peripheral Enable1 Control) .................. 50
PIE1 (Peripheral Interrupt Enable 1)......................... 108
PIE2 (Peripheral Interrupt Enable 2)......................... 109
PIR1 (Peripheral Interrupt Flag 1)............................. 110
PIR2 (Peripheral Interrupt Flag 2)............................. 111
PMADRH (Program Memory Address High) .... 119, 121
PMADRL (Program Memory Address Low)...... 119, 120
PMCON1 (Program Memory Control 1)............ 119, 121
PMCON2 (Program Memory Control 2).................... 119
PMDATH (Program Memory Data High) .................. 120
PMDATL (Program Memory Data Low).................... 120
PORTGPA ........................................................ 125, 127
PORTGPB ........................................................ 129, 130
SLPCRCON (Slope Compensation Ramp Control).... 46
Special Function ......................................................... 82
Special Registers Summary
Bank 0 ................................................................ 86
Bank 1 ................................................................ 87
Bank 2 ................................................................ 88
Bank 3 ................................................................ 89
SSPADD (MSSP Address and Baud Rate 1) ........... 208
SSPADD2 (MSSP Address 2) .................................. 209
SSPCON1 (SSP Control 1) ...................................... 204
SSPCON2 (SSP Control 2) ...................................... 206
SSPCON3 (SSP Control 3) ...................................... 207
SSPMSK1 (SSP Mask 1).......................................... 208
SSPMSK2 (SSP Mask 2).......................................... 209
SSPSTAT (SSP Status)............................................ 203
STATUS ..................................................................... 83
T1CON (Timer1 Control) .......................................... 152
T2CON (Timer2 Control) .......................................... 156
TRISGPA (PORTGPA Tri-State) ...................... 125, 127
TRISGPB (PORTGPB Tri-State) ...................... 129, 131
VINCON (UVLO and OVLO Comparator Control) ...... 39
VINOVLO (Input Overvoltage Lockout) ...................... 40
VINUVLO (Input Undervoltage Lockout)..................... 40
VREF2CON (VREF2 Voltage Set Point) ...................... 49
VREFCON (Current/Voltage Regulation Set Point Con-
trol) ..................................................................... 48
WPUGPA (Weak Pull-Up PORTGPA)...................... 128
WPUGPB (Weak Pull-Up PORTGPB)...................... 131
Requirements
A/D Acquisition ......................................................... 145
A/D Conversion........................................................... 37
External Clock, Timing................................................ 32