38.7.1 CVDCON - CVD Control Register
| Name: | CVDCON |
| Offset: | 0x00 |
| Reset: | 0x00020000 |
| Property: | - |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| ON | FRZ | SIDL | ORDER | SDWREN | ABORT | SWTRIG | |||
| Access | R/W | R/W | R/W | R/W | R/W | W/HC | W/HC | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| THSTR | CVDIEN | FIFOIEN | FIFOTH[9:8] | ||||||
| Access | R/W | R/W | R/W | R/W | R/W | ||||
| Reset | 0 | 0 | 0 | 1 | 0 | ||||
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| FIFOTH[7:0] | |||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| CLKSEL[1:0] | TRIGSEL[3:0] | ||||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | |||
Bit 31 – ON Enables the State Machine to scan the enabled Scan Descriptors upon next trigger
Bit 30 – FRZ Freeze Mode
| Value | Description |
|---|---|
| 1 | CVD controller stops in the Debugger mode |
| 0 | CVD controller runs in the Debugger mode |
Bit 29 – SIDL Stop in Idle Mode bit
| Value | Description |
|---|---|
| 1 | CVD controller stops when device enters the Idle mode |
| 0 | CVD controller continues running in the Idle mode |
Bit 28 – ORDER RX/TX Loop Order
| Value | Description |
|---|---|
| 1 | Scans all the requested TX indexes, then increments RX index and continues operation |
| 0 | Scans all the requested RX indexes, then increments TX index and continues operation |
Bit 27 – SDWREN Scan Descriptor Write Enable
| Value | Description |
|---|---|
| 1 | Enables writes to the scan descriptors |
| 0 | Prevents writes to the scan descriptors |
Bit 25 – ABORT Abort Current Scan
Note: The controller moves on to the next enabled Scan Descriptor if there is one; otherwise, it goes to idle state. Hardware clears this bit.
| Value | Description |
|---|---|
| 1 | Aborts the current scan |
| 0 | CVD controller continues with the current scan |
Bit 24 – SWTRIG Software Trigger control. Starts scan manually
Note: Hardware clears this bit.
| Value | Description |
|---|---|
| 1 | Starts scan manually |
| 0 | Continues without the scan |
Bit 23 – THSTR Threshold Store Mode
| Value | Description |
|---|---|
| 1 | Stores only the results which exceed the programmed threshold for the Scan Descriptor |
| 0 | Stores all the results in FIFO |
Bit 19 – CVDIEN Global Interrupt Enable
| Value | Description |
|---|---|
| 1 | Enables the FIFO and scan descriptor interrupts |
| 0 | Disables the FIFO and scan descriptor interrupts |
Bit 18 – FIFOIEN FIFO Threshold Interrupt Enable
| Value | Description |
|---|---|
| 1 | Controller asserts an interrupt when the FIFO threshold is met |
| 0 | Controller does not assert an interrupt when the FIFO threshold is met |
Bits 17:8 – FIFOTH[9:0] Threshold for the results FIFO
Bits 5:4 – CLKSEL[1:0] Clock Select for CVD
| Value | Description |
|---|---|
| 00 | PB1_CLK |
| 01 | POSC |
| 10 | LPRC |
| 11 | GCLK |
Bits 3:0 – TRIGSEL[3:0] Trigger select for starting the scan
| Value | Description |
|---|---|
| 0000 | SFR controlled software trigger |
| 0001 | EVSYS event. See Event System (EVSYS) from Related Links. |
| 0010 - 1111 | Reserved |
