AM263Px MCU+ SDK  10.02.00
pmic.h File Reference

Go to the source code of this file.

Data Structures

struct  PMIC_Params
 Parameters passed during PMIC_open() More...
 
struct  PMIC_Fxns
 Driver implementation callbacks. More...
 
struct  PMIC_Config
 PMIC driver configuration, these are filled by SysCfg based on the device that is selected. More...
 
struct  PMIC_Object
 PMIC driver object - not to be used by application. More...
 

Typedefs

typedef void * PMIC_Handle
 Handle to the PMIC driver returned by PMIC_open() More...
 
PMIC driver implementation callbacks
typedef int32_t(* PMIC_OpenFxn) (PMIC_Config *config, const PMIC_Params *params)
 Driver implementation to open a specific PMIC driver. More...
 
typedef int32_t(* PMIC_ConfigureFxn) (PMIC_Config *config)
 Driver implementation to configure the specific PMIC driver. More...
 
typedef void(* PMIC_CloseFxn) (PMIC_Config *config)
 Driver implementation to close a specific PMIC driver. More...
 

Functions

PMIC_Handle PMIC_open (uint32_t instanceId, const PMIC_Params *params)
 Open PMIC driver. More...
 
int32_t PMIC_configure (PMIC_Handle handle)
 Configure PMIC driver. More...
 
Pmic_CoreHandle_t * PMIC_getCoreHandle (uint32_t index)
 Get handle to PMIC Pmic_CoreHandle_t driver. More...
 
void PMIC_close (PMIC_Handle handle)
 Close PMIC driver. More...
 

Variables

PMIC_Config gPmicConfig []
 
uint32_t gPmicConfigNum