SNIU028E February 2016 – February 2025 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
Address 00050040 – DPWM 3 Interrupt Register
Address 00070040 – DPWM 2 Interrupt Register
Address 000A0040 – DPWM 1 Interrupt Register
Address 000D0040 – DPWM 0 Interrupt Register
| 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MODE_SWITCH | FLT_A | FLT_B | FLT_AB | FLT_CBC | PRD | INT |
| R-0 | R-0 | R-0 | R-0 | R-0 | R-0 | R-0 |
| 15 | 12 | 11 | 10 | 9 | 8 |
| Reserved | MODE_ SWITCH_FLAG_CLR | MODE_ SWITCH_FLAG_EN | MODE_ SWITCH_INT _EN | FLT_A_INT_EN | |||
| R/W-0000 | R/W-0 | R/W-0 | R/W-0 | R/W-0 | |||
| 7 | 6 | 5 | 4 | 3 | 0 |
| FLT_B_INT_EN | FLT_AB_INT_EN | FLT_CBC_INT _EN | PRD_INT_EN | PRD_INT_SCALE | |||
| R/W-0 | R/W-0 | R/W-0 | R/W-0 | R/W-1111 | |||
| LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
| DTC_DISABLE | MODE_SWITCH | FLT_A | FLT_B | FLT_AB | FLT_CBC | PRD | INT |
| R-0 | R-0 | R-0 | R-0 | R-0 | R-0 | R-0 | R-0 |
| 15 | 12 | 11 | 10 | 9 | 8 |
| Reserved | MODE_ SWITCH_FLAG_CLR | MODE_ SWITCH_FLAG_EN | MODE_ SWITCH_INT _EN | FLT_A_INT_EN | |||
| R/W-0000 | R/W-0 | R/W-0 | R/W-0 | R/W-0 | |||
| 7 | 6 | 5 | 4 | 3 | 0 |
| FLT_B_INT_EN | FLT_AB_INT_EN | FLT_CBC_INT _EN | PRD_INT_EN | PRD_INT_SCALE | |||
| R/W-0 | R/W-0 | R/W-0 | R/W-0 | R/W-1111 | |||
| LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 22 | MODE_SWITCH | R | 0 | Mode Switching Flag 0 = Flag is not asserted 1 = Flag is set |
| 21 | FLT_A | R | 0 | Fault A Flag 0 = Flag is not asserted 1 = Flag is set |
| 20 | FLT_B | R | 0 | Fault B Flag 0 = Flag is not asserted 1 = Flag is set |
| 19 | FLT_AB | R | 0 | Fault AB Flag 0 = Flag is not asserted 1 = Flag is set |
| 18 | FLT_CBC | R | 0 | Fault Cycle-by-Cycle Flag 0 = Flag is not asserted 1 = Flag is set |
| 17 | PRD | R | 0 | PWM Period Interrupt Flag 0 = PWM Period Interrupt Flag is not asserted 1 = PWM Period Interrupt Flag is set |
| 16 | INT | R | 0 | Interrupt Out 0 = INT is not asserted 1 = INT is set |
| 15-12 | Reserved | R | 0000 | |
| 11 | MODE_SWITCH_FLAG_CLR | R/W | 0 | Mode Switching Flag Clear 0 = (Default) 1 = Rising edge. 0-1 clears MODE_SWITCH bit. |
| 10 | MODE_SWITCH_FLAG_EN | R/W | 0 | Mode Switching Flag Enable 0 = Disables generation of flag for Mode Switching (Default) 1 = Enables generation of flag for Mode Switching |
| 9 | MODE_SWITCH _INT_EN | R/W | 0 | Mode Switching Interrupt Enable 0 = Interrupt is not enabled (Default) 1 = Interrupt is enabled |
| 8 | FLT_A_INT_EN | R/W | 0 | Fault A Flag Interrupt Enable 0 = Interrupt is not enabled (Default) 1 = Interrupt is enabled |
| 7 | FLT_B_INT_EN | R/W | 0 | Fault B Flag Interrupt Enable 0 = Interrupt is not enabled (Default) 1 = Interrupt is enabled |
| 6 | FLT_AB_INT_EN | R/W | 0 | Fault AB Flag Interrupt Enable 0 = Interrupt is not enabled (Default) 1 = Interrupt is enabled |
| 5 | FLT_CBC_INT_EN | R/W | 0 | Fault Cycle-by-Cycle Flag Interrupt Enable 0 = Interrupt is not enabled (Default) 1 = Interrupt is enabled |
| 4 | PRD_INT_EN | R/W | 0 | PWM Period Interrupt Enable 0 = Disables generation of periodic PWM interrupt (Default) 1 = Enables generation of periodic PWM interrupt |
| 3-0 | PRD_INT_SCALE | R/W | 1111 | This value scales the period interrupt signal from an interrupt every switching cycle to 256 switching cycles 0000 = Period Interrupt generated every switching cycle (Default) 0001 = Period Interrupt generated once every 2 switching cycles 0010 = Period Interrupt generated once every 4 switching cycles 0011 = Period Interrupt generated once every 6 switching cycles 0100 = Period Interrupt generated once every 8 switching cycles 0101 = Period Interrupt generated once every 16 switching cycles 0110 = Period Interrupt generated once every 32 switching cycles 0111 = Period Interrupt generated once every 48 switching cycles 1000 = Period Interrupt generated once every 64 switching cycles 1001 = Period Interrupt generated once every 80 switching cycles 1010 = Period Interrupt generated once every 96 switching cycles 1011 = Period Interrupt generated once every 128 switching cycles 1100 = Period Interrupt generated once every 160 switching cycles 1101 = Period Interrupt generated once every 192 switching cycles 1110 = Period Interrupt generated once every 224 switching cycles 1111 = Period Interrupt generated once every 256 switching cycles |