4.2.7 Standby .c
Following table describes the standby library.
Function Name
void STBLED_ON(unsigned char LEDSwiDat)
void Write_StandBy(void)
Following table describes how to use function STBLED_ON.
Function name
Function prototype
Behavior description
Input parameter
Return value
Example
Following table describes how to use function Write_StandBy.
Function name
Function prototype
Behavior description
Input parameter
Return value
Example
MB2146-460-E Setup Guide V1.2
Chapter 4 Sample Code Manual
LED show standby status
Go to standby
void STBLED_ON(unsigned char LEDSwiDat)
Make standby LED on or off
LEDSwiDat: 0 --- LED1 will off
1 --- LED1 will on
None
Make LED1 on:
STBLED_ON(1);
void Write_StandBy(void)
Write data to let system enter into stop mode
None
None
Make system enter into stop mode:
Write_StandBy();
MCU-AN-500083-E-12 – Page 33
Description
STBLED_ON
Write_StandBy