Go to the source code of this file.
Data Structures | |
struct | PMIC_Config |
PMIC driver configuration, these are filled by SysCfg based on the device that is selected. More... | |
struct | PMIC_Params |
Parameters passed during PMIC_open() More... | |
Typedefs | |
typedef void * | PMIC_Handle |
Handle to the PMIC driver returned by PMIC_open() More... | |
typedef struct PMIC_Config_s | PMIC_Config |
Forward declaration of PMIC_Config. More... | |
typedef struct PMIC_Params_s | PMIC_Params |
Forward declaration of PMIC_Params. More... | |
Functions | |
void | PMIC_init (void) |
This function initializes the PMIC module. More... | |
void | PMIC_deinit (void) |
This function de-initializes the PMIC module. More... | |
PMIC_Handle | PMIC_open (uint32_t instanceId, const PMIC_Params *params) |
Open PMIC driver. More... | |
PMIC_Handle | PMIC_getHandle (uint32_t instanceId) |
Get handle to PMIC driver. More... | |
void | PMIC_close (PMIC_Handle handle) |
Close PMIC driver. More... | |
void | PMIC_critSecStartFn (void) |
Initiates the start of a critical section for PMIC operations. This function attempts to acquire a semaphore, which is typically used to ensure exclusive access to resources during PMIC operations. More... | |
void | PMIC_critSecStopFn (void) |
Concludes a critical section for PMIC operations. This function releases the semaphore, signifying the end of a critical section initiated by a corresponding "start" function. More... | |