For 2 series MCU, will TC0 continue to count and wake up the system under Green Mode?
For most MCU, when the system enters green mode, the wake-up source can be a T0 overflow,
P0, P1 interrupt (need to set P1W register) trigger level changes, it can also be
an external reset or watchdog overflow. TC0 can not wake up the system from green
mode. Before enter green mode, if TC0 function is enabled, it will continue to count
and will set TC0IRQ to 1 when overflow, but it will not immediately give response
until the system recover from green mode。
Also there are some exceptions, such as SN8P2711/2711A, SN8P2808. These types of MCU, the T0M register all have TC0GN bit, you can set it to open TC0 green mode wake-up function; If replace them to 1, TC0 overflow can wake the system from green mode; if set it to 0, it will not. You can refer to the corresponding datasheet in SYSTEM OPERATION MODE/OVERVIEW section to check whether TC0 will continue to count at this time.
SN8P2711/2711A has no T0 timer/counter, you can only use TC0 to wake up green mode by setting TC0GN bit, you can wake up SN8P2808 with T0 or can also use TC0 to wake up green mode, but should set TC0GN bit to 1.
Also there are some exceptions, such as SN8P2711/2711A, SN8P2808. These types of MCU, the T0M register all have TC0GN bit, you can set it to open TC0 green mode wake-up function; If replace them to 1, TC0 overflow can wake the system from green mode; if set it to 0, it will not. You can refer to the corresponding datasheet in SYSTEM OPERATION MODE/OVERVIEW section to check whether TC0 will continue to count at this time.
SN8P2711/2711A has no T0 timer/counter, you can only use TC0 to wake up green mode by setting TC0GN bit, you can wake up SN8P2808 with T0 or can also use TC0 to wake up green mode, but should set TC0GN bit to 1.