#include "legato.h"
Go to the source code of this file.
Macros | |
#define | LE_ULPM_MAX_TIMEOUT_VAL 172800 |
Enumerations | |
enum | le_ulpm_GpioState_t { LE_ULPM_GPIO_HIGH, LE_ULPM_GPIO_LOW } |
Functions | |
void | le_ulpm_ConnectService (void) |
void | le_ulpm_DisconnectService (void) |
le_result_t | le_ulpm_BootOnGpio (uint32_t gpioNum, le_ulpm_GpioState_t state) |
le_result_t | le_ulpm_BootOnTimer (uint32_t expiryVal) |
le_result_t | le_ulpm_ShutDown (void) |
Legato Ultra Low Power Mode include file.
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
#define LE_ULPM_MAX_TIMEOUT_VAL 172800 |
Maximum timeout value to stay in ultra low power mode.
enum le_ulpm_GpioState_t |
le_result_t le_ulpm_BootOnGpio | ( | uint32_t | gpioNum, |
le_ulpm_GpioState_t | state | ||
) |
Boot on changing of a gpio state. Gpio number is specified as parameter.
[in] | gpioNum | Gpio number to boot. |
[in] | state | State which should cause boot. |
le_result_t le_ulpm_BootOnTimer | ( | uint32_t | expiryVal | ) |
Boot after expiration of timer interval.
[in] | expiryVal | Expiration time(in second) to boot. This is relative time from modem/app processor shutdown. |
void le_ulpm_ConnectService | ( | void | ) |
Connect the current client thread to the service providing this API.
This function must be called before any other functions in this API. Normally, it's automatically called for the main thread, but must be explicitly called for other threads. For details, see Client-specific Functions.
This function is created automatically.
void le_ulpm_DisconnectService | ( | void | ) |
Disconnect the current client thread from the service providing this API.
Normally, this function doesn't need to be called. After this function is called, there's no longer a connection to the service, and the functions in this API can't be used. For details, see Client-specific Functions.
This function is created automatically.
le_result_t le_ulpm_ShutDown | ( | void | ) |
Initiate shutting down of app processor/modem etc.