For 2 series MCU, will TC0 continue to count and wake up the system from Green Mode?
For most MCU, when the system goes into green mode, the wake-up source can be a T0
overflow, external interrupt P0, P1 (need to set P1W register) trigger level changes,
it can also be an external reset or watchdog overflow. But TC0 can not wake up the
system from green mode.
Before entering green mode, if enable TC0 function, TC0 will still count after enter green mode, the overflow signal will issue a time-out signal to trigger TC0 interrupt to request interrupt service, but not immediately response TC0 interrupt, the system must wait until the wake-up source wake up system 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 enable or disable TC0 wake-up from green mode; if set it as 0, it will not. Whether TC0 will continue to count, please refer to the corresponding section in SYSTEM OPERATION MODE / OVERVIEW in datasheet.
SN8P2711/2711A has no T0 timer/counter, which can only use TC0 timer by setting TC0GN bit to wake up green mode, SN8P2808 can use both T0 or TC0 to wake up green mode, but when use TC0, user should set TC0GN bit to 1.
Before entering green mode, if enable TC0 function, TC0 will still count after enter green mode, the overflow signal will issue a time-out signal to trigger TC0 interrupt to request interrupt service, but not immediately response TC0 interrupt, the system must wait until the wake-up source wake up system 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 enable or disable TC0 wake-up from green mode; if set it as 0, it will not. Whether TC0 will continue to count, please refer to the corresponding section in SYSTEM OPERATION MODE / OVERVIEW in datasheet.
SN8P2711/2711A has no T0 timer/counter, which can only use TC0 timer by setting TC0GN bit to wake up green mode, SN8P2808 can use both T0 or TC0 to wake up green mode, but when use TC0, user should set TC0GN bit to 1.