3.2.1.6 ADC Sequencer Status Register ADCSEQSTAT (Offset 0x0014)
Bit
Symbol
Description
Access
Reset
Value
31:5
-
Reserved
Write: don't care
Read: always reads as '0'
R
0
4
SEQ IRQ
Pending Sequencer Interrupts (Read),
On a read-access this bit shows a pending Sequencer interrupt.
Pending interrupts are marked with a '1'.
An interrupt is acknowledged when the error flags are cleared.
R
0
3
I-RAM
ERROR
Instruction RAM Error Flag
Set by the sequencer if the sequencer has been started and there is
no instruction in the Sequencer Instruction RAM.
To clear this flag the user must write ‘1’ to this bit.
R/C
0
2
TIMER
ERROR
Timer Error Flag
Set by the sequencer if the sequencer timer has elapsed but the
actual sequence is still in progress.
To clear the Timer Error Flag the user must write ‘1’ to this bit.
If the Sequencer Timer Register is 0 (Sequencer Continuous Mode)
the Timer Error Flag always reads as ‘0’.
R/C
0
1
DATA
OVERFLOW
ERROR
Data Overflow Error Flag
Set by the sequencer if the last sequencer instruction is done and
the Data Available Flag of the previous sequence has not yet been
cleared by the user.
To clear the error flag the user must write ‘1’ to this bit.
If the Sequencer Timer Register is 0 (Sequencer Continuous Mode)
the Data Overflow Error Flag always reads as ‘0’.
R/C
0
0
DATA AV
Data Available Flag
Set if a sequence is done and new ADC Data is available in the ADC
Data RAM.
After reading the ADC Data RAM the user must clear the Data
Available Flag by writing ‘1’ to this bit.
R/C
0
Table 3-9 : ADC Sequencer Status Register
Description
Sequencer
Timer
Continuous
Mode
External
Trigger
Data Available Flag
Active, IRQ
Active, no IRQ
Active, IRQ
Data Overflow Error Flag
Active, IRQ
Disabled
Active, IRQ
Timer Error Flag
Active, IRQ
Disabled
Active, IRQ
Instruction RAM Error Flag
Active, IRQ
Active, IRQ
Active, IRQ
Table 3-10: Error Flag IRQ generation
Also see chapter ‘Sequencer Errors’ for details.
TPMC851 User Manual Issue 1.0.9
Page 20 of 65