SNIU028D February 2016 – September 2020 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
There are three bit fields related to the Mode Switching Interrupt.
See Section 2.29 DPWM Auto Switch Registers, for more detail on Mode Switching.
MODE_SWITCH goes high when the DPWM has switched modes.
MODE_SWITCH_INT_EN enables this interrupt.
A rising edge on MODE_SWITCH_FLAG_CLR clears the MODE_SWITCH bit. This bit is not auto cleared, so it will be necessary to clear it with firmware before the next rising edge.