 |
|
Suspend functionality and wake-up mode (XC2xxx)
|
|
 |
What has to be done to stop the General Purpose Timers when the CPU is stopped?
|
| |
|
Basic setup for the general suspend mode:
SYStem.Option PERSTOP ON
SYStem.Option PERSTOPFIX ON
Component-specific setup (example):
The xxx_KSCCFG Suspend mode configuration register has to be enabled.
For the General Purpose Timer, e.g. GPT12E_KSCCFG = 0x0201
This can be done in the application or via TRACE32 (PER.Set D:0xFE1C %Word 0x0A03)
NOTE: If you want to use the suspend functionality the ITCEN, GPTEN and the WUTEN bit have
to be disabled in the GSCEN register. It is not possible to use the suspend functionality and the wake-up mode at the same time.
|
 |
|
Suspend functionality and wake-up mode (XE16x)
|
|
 |
What has to be done to stop the General Purpose Timers when the CPU is stopped?
|
| |
|
Basic setup for the general suspend mode:
SYStem.Option PERSTOP ON
SYStem.Option PERSTOPFIX ON
Component-specific setup (example):
The xxx_KSCCFG Suspend mode configuration register has to be enabled.
For the General Purpose Timer, e.g. GPT12E_KSCCFG = 0x0201
This can be done in the application or via TRACE32 (PER.Set D:0xFE1C %Word 0x0A03)
NOTE: If you want to use the suspend functionality the ITCEN, GPTEN and the WUTEN bit have
to be disabled in the GSCEN register. It is not possible to use the suspend functionality and the wake-up mode at the same time.
|