![]() |
PDK API Guide for J721E
|
PMIC IRQ Driver API/interface file.
Go to the source code of this file.
Data Structures | |
struct | Pmic_IrqStatus_t |
PMIC Interrupt status object structure. More... | |
Macros | |
PMIC GPIO Interrupt Mask values | |
#define | PMIC_IRQ_GPIO_ALL_INT_MASK_NUM (12U) |
PMIC IRQ flag for all Interrupts | |
#define | PMIC_IRQ_ALL (0xFFU) |
PMIC IRQ Clear flags | |
#define | PMIC_IRQ_CLEAR_NONE (0U) |
#define | PMIC_IRQ_CLEAR (1U) |
PMIC IRQ Mask flag | |
#define | PMIC_IRQ_UNMASK (bool)false |
#define | PMIC_IRQ_MASK (bool)true |
PMIC IRQ GPIO Interrupt type | |
#define | PMIC_IRQ_GPIO_FALL_INT_TYPE (0x0U) |
#define | PMIC_IRQ_GPIO_RISE_INT_TYPE (0x1U) |
#define | PMIC_IRQ_GPIO_RISE_FALL_INT_TYPE (0x2U) |
Functions | |
int32_t | Pmic_irqGetErrStatus (Pmic_CoreHandle_t *pPmicCoreHandle, Pmic_IrqStatus_t *pErrStat, const bool clearIRQ) |
API to read Error status. More... | |
int32_t | Pmic_irqClrErrStatus (Pmic_CoreHandle_t *pPmicCoreHandle, const uint8_t irqNum) |
API to clear Error status. More... | |
int32_t | Pmic_irqMaskIntr (Pmic_CoreHandle_t *pPmicCoreHandle, const uint8_t irqNum, const bool mask) |
API to mask/unmask interrupts. More... | |
int32_t | Pmic_getNextErrorStatus (const Pmic_CoreHandle_t *pPmicCoreHandle, Pmic_IrqStatus_t *pErrStat, uint8_t *pIrqNum) |
API to extract each Error status. More... | |
int32_t | Pmic_irqGpioMaskIntr (Pmic_CoreHandle_t *pPmicCoreHandle, const uint8_t irqGpioNum, const bool mask, const uint8_t gpioIntrType) |
API to mask/unmask GPIO interrupts. More... | |
int32_t | Pmic_irqGetMaskIntrStatus (Pmic_CoreHandle_t *pPmicCoreHandle, const uint8_t irqNum, bool *pMaskStatus) |
API to read the status of PMIC interrupts is masked or not. More... | |
int32_t | Pmic_irqGetGpioMaskIntr (Pmic_CoreHandle_t *pPmicCoreHandle, const uint8_t irqGpioNum, const uint8_t gpioIntrType, bool *pRiseIntrMaskStat, bool *pFallIntrMaskStat) |
API to read the status of PMIC GPIO interrupts is masked or not. More... | |