15.13.3 PIR1
Note:
- The CSWIF interrupt will not wake the system from Sleep. The system will sleep until another interrupt causes the wake-up.
Name: | PIR1 |
Offset: | 0xE34 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
OSCFIF | CSWIF | ADTIF | ADIF | ||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Bit 7 – OSCFIF Oscillator Fail Interrupt Flag bit
Value | Description |
---|---|
1 | Device oscillator failed, clock input has changed to HFINTOSC (must be cleared by software) |
0 | Device clock operating |
Bit 6 – CSWIF Clock-Switch Interrupt Flag bit(1)
Value | Description |
---|---|
1 | New oscillator is ready for switch (must be cleared by software) |
0 | New oscillator is not ready for switch or has not been started |
Bit 1 – ADTIF ADC Threshold Interrupt Flag bit
Value | Description |
---|---|
1 | ADC Threshold interrupt has occurred (must be cleared by software) |
0 | ADC Threshold event is not complete or has not been started |
Bit 0 – ADIF ADC Interrupt Flag bit
Value | Description |
---|---|
1 | An A/D conversion completed (must be cleared by software) |
0 | The A/D conversion is not complete or has not been started |