Intel® Quark™ Microcontroller Software Interface  1.4.0
Intel® Quark™ Microcontroller BSP
Quark(TM) D2000 Retention Alternator Regulator (RAR).

Retention alternator regulator for Quark D2000. More...

Enumerations

enum  qm_rar_state_t { QM_RAR_NORMAL, QM_RAR_RETENTION }
 RAR modes type. More...
 

Functions

int qm_rar_set_mode (const qm_rar_state_t mode)
 Change operating mode of RAR. More...
 

Detailed Description

Retention alternator regulator for Quark D2000.

Enumeration Type Documentation

RAR modes type.

Enumerator
QM_RAR_NORMAL 

Normal mode = 50 mA.

QM_RAR_RETENTION 

Retention mode = 300 uA.

Definition at line 90 of file power_states.h.

Function Documentation

int qm_rar_set_mode ( const qm_rar_state_t  mode)

Change operating mode of RAR.

Normal mode is able to source up to 50 mA. Retention mode is able to source up to 300 uA. Care must be taken when entering into retention mode to ensure the overall system draw is less than 300 uA.

Parameters
[in]modeOperating mode of the RAR.
Returns
Standard errno return type for QMSI.
Return values
0on success.
Negativeerrno for possible error codes.

Definition at line 415 of file power_states.c.

References QM_RAR_NORMAL, and QM_RAR_RETENTION.

Referenced by qm_power_soc_deep_sleep(), qm_power_soc_deep_sleep_restore(), qm_power_soc_sleep(), and qm_power_soc_sleep_restore().