<<<Previous Tutorial | Next Tutorial>>> |
The Table for PIE1 configuration is given below .
PSPIE | ADIE | RCIE | TXIE | SSPIE | CCPIE1IE | TMR2IE | TMRA11E |
Please take a look at the table to configure it according to your needs .For example PIE.6 corresponds to ADIE and setting it as 1 enables the A2D converter interrupt.
EX
PIE.6 = 1 ;
BIT | NAME | ENABLE | DISABLE |
Parallel slave port read/write interrupt enable bit | 1 | 0 | |
ADIE | AD conveter interrupt enable bit | 1 | 0 |
RCIE | USART receive interrupt enable bit | 1 | 0 |
TXIE | USART transmit interrupt enable bit | 1 | 0 |
Synchrous serial port interrupt enable bit | 1 | 0 | |
CCP1 interrupt enable bit | 1 | 0 | |
TMR2IE | TMR2 to PR2 match interrupt enable bit | 1 | 0 |
TMRA11E | TMR! overflow interrupt enable bit | 1 | 0 |
PIE2 REGISTER
--- | --- | --- | EEIE | BCLIE | --- | --- | CCP2IE |
NAME | ENABLE | DISABLE | |
EEIE | EEPROM write operation interrupt enable bit | 1 | 0 |
BCLIE | Bus collision interrupt enable bit | 1 | 0 |
CCP2IE | CCP2 interrupt enable bit | 1 | 0 |
EEPROM Bus collision and CCP2 interrupt enable bit are available in PIE2 register .All other bits are
kept clear in this register
<<<Previous Tutorial | Next Tutorial>>> |
No comments:
Post a Comment