This section describes functions and macros of the driver's API.
This macro returns current power mode of the device (SMC_PMSTAT register).
- Returns
- uint8 mask indicating current power mode of the device (refer to SMC Power Operating Modes).
- Note
- Implemented as an inline macro.
- See also
- SMC_SetMode
#define SMC_SetMode |
( |
|
mode | ) |
|
This macro sets device operating mode.
- Parameters
-
mode | Select an operating mode: RUN,VLPR,STOP,PSTOP1,PSTOP2,VLPS_PSTOP1,VLPS_PSTOP2,WAIT, VLPS,VLPW,VLLS3,VLLS2,VLLS1,VLLS0_POR_ON,VLLS0_POR_OFF. |
- Note
- Implemented as an inline macro.
- See also
- SMC_GetMode
This macro function initializes System Mode Controller (SMC).
- Parameters
-
- Note
- Implemented as an inline macro.