EasyManua.ls Logo

Cmsemicon CMS32L051 - Start of Count Operation and Re-Enter to Sleep Mode after Returned from Sleep Mode

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 8 15-Bit Interval Timer
www.mcu.com.cn 250 / 703
8.4.2 Start of count operation and re-enter to sleep mode after returned from sleep mode
After returning from sleep mode, if you want to transfer the RINTE set to 1 and transfer it to sleep mode
again, you must confirm that the RENTE bit is reflected after the RINTE set to 1, or at least pass after the
return After 1 count clock of time, it is transferred to sleep mode.
setting the RINTE to 1, confirm that the RINTE bit changes to 1 by polling and then transfer to
sleep mode (see the example in the figure below 1).
 After setting RINTE to 1, wait for at least one cycle of the count clock and then enter sleep mode (see
Figure, Example 2).
return from sleep mode
RINTE=1
RINTE=1
YES
NO
execute WFI instruction
configure start counting
confirm counter start
operating
transfer to Sleep
mode
return from sleep mode
RINTE=1
execute WFI instruction
transfer to Sleep
mode
wait at least 1 count
clock
at least 1 count
clock cycle is
required after
return
Example 1 Example 2

Table of Contents

Related product manuals