Technical Reference Manual
002-29852 Rev. *B
Bits Name
SW
HW
Default or
Enum
Description
8:15
AVG_CNT
RW
R
Undefined
Either averaging count (minus 1) or Pulse positive
reload value
Averaging Count for channels that have averaging
enabled. A channel will be sampled (1) =
[1..256] times.
The signal will be acquired back to back (1st order
accumulate and dump filter), the average result is
calculated and stored and then the next enabled
channel is sampled.
If more than 16 sample are taken (AVG_CNT>=16)
then AVG_SHIFT must be set so that the result after
shifting fits in 16 bits
Pulse detect positive reload value
PULSE_POS_RL[7:0]
16:20 SHIFT_R
RW
R
Undefined
Either Shift Right (no pulse detection) or Pulse
negative reload value (if pulse detection is enabled)
Shift right SHIFT_R[3:0] = [0..12]: the result (typically
after averaging) is shifted right as specified here.
Software has to make sure that the result fits in less
than 16 bits.
Any value >12 will be treated as 12, bit [4] is always
ignored. This can also be used to fit the 12-bit result in
8 bits.
Pulse detect negative reload value
PULSE_NEG_RL[4:0]
22:23 RANGE_MODE
RW
R
Undefined
Range detect mode
BELOW_LO
0
Below Low threshold (result < Lo)
INSIDE_RANGE
1
Inside range (Lo <= result < Hi)
ABOVE_HI
2
Above high threshold (Hi <= result)
OUTSIDE_RANGE
3
Outside range (result < Lo || Hi <= result)
25
TR_DONE_GRP_VIO
RW
R
Undefined
Select tr_sar_ch_done mode for last channel of a
group, ignored for all other channels
Also see TR_CTL.DONE_LEVEL
DONE
0
Default: tr_sar_ch_done is set when the group is done
GRP_RANGE_VIO
1
tr_sar_ch_done is only set if any of the channels in the
group has a Range Violation. This mode is ignored if
this is not the last channel in the group.
Note that if none of the channels in the group have
Range detection enabled then the trigger will never get
set.
1113
2022-04-18
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers