EasyManua.ls Logo

Cypress FM4 Series - Examples of Procedure for Setting Standby Mode

Cypress FM4 Series
1102 pages
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...
CHAPTER 6: Low Power Consumption Mode
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 215
4. Examples of Procedure for Setting Standby Mode
This section provides examples of procedure for setting a standby mode.
Figure 4-1 Example of Procedure for Setting Main Timer Mode
No
No
Write 0x1ACC to KEY, 0 to DSTM, 0b00
to STM in STB_CTL register together.
Write 1 to SLEEPDEEP.
End
Start
Execute WFI instruction or WFE
instruction.
USB is used?
Yes
Write 0 SUSPIE in UDCIE register,
1 to USTP in UDCC register,
0 to UCEN in UCCR register.
CPU transits to main timer mode.
No
UCEN=0?
Yes
CAN is used?
Yes
Write 1 to Init in CTRLR register.
Write 0 to RTCE in PMD_CTL register.

Table of Contents

Related product manuals