| Field Name | Bits | Type | Reset Value | Description |
|---|---|---|---|---|
|
XTTCPS_CNT_CNTRL_POL_WAVE_MASK (POL_WAVE) |
6 | rw | 0x0 | Waveform polarity: When this bit is high, the waveform output goes from high to low on Match_1 interrupt and returns high on overflow or interval interrupt; when low, the waveform goes from low to high on Match_1 interrupt and returns low on overflow or interval interrupt. |
|
XTTCPS_CNT_CNTRL_EN_WAVE_MASK (EN_WAVE) |
5 | rw | 0x1 | Output waveform enable, active low. |
|
XTTCPS_CNT_CNTRL_RST_MASK (RST) |
4 | rw | 0x0 | Setting this bit high resets the counter value and restarts counting; the RST bit is automatically cleared on restart. |
|
XTTCPS_CNT_CNTRL_MATCH_MASK (MATCH) |
3 | rw | 0x0 | Register Match mode: when Match is set, an interrupt is generated when the count value matches one of the three match registers and the corresponding bit is set in the Interrupt Enable register. |
|
XTTCPS_CNT_CNTRL_DECR_MASK (DECR) |
2 | rw | 0x0 | Decrement: when this bit is high the counter counts down. |
|
XTTCPS_CNT_CNTRL_INT_MASK (INT) |
1 | rw | 0x0 | When this bit is high, the timer is in Interval Mode, and the counter generates interrupts at regular intervals; when low, the timer is in overflow mode. |
|
XTTCPS_CNT_CNTRL_DIS_MASK (DIS) |
0 | rw | 0x1 | Disable counter: when this bit is high, the counter is stopped, holding its last value until reset, restarted or enabled again. |