![]() |
gpiops
Xilinx SDK Drivers API Documentation
|
Functions | |
void | StubHandler (void *CallBackRef, u32 Bank, u32 Status) |
This is a stub for the status callback. More... | |
void | XGpioPs_IntrEnable (XGpioPs *InstancePtr, u8 Bank, u32 Mask) |
This function enables the interrupts for the specified pins in the specified bank. More... | |
void | XGpioPs_IntrEnablePin (XGpioPs *InstancePtr, u32 Pin) |
This function enables the interrupt for the specified pin. More... | |
void | XGpioPs_IntrDisable (XGpioPs *InstancePtr, u8 Bank, u32 Mask) |
This function disables the interrupts for the specified pins in the specified bank. More... | |
void | XGpioPs_IntrDisablePin (XGpioPs *InstancePtr, u32 Pin) |
This function disables the interrupts for the specified pin. More... | |
u32 | XGpioPs_IntrGetEnabled (XGpioPs *InstancePtr, u8 Bank) |
This function returns the interrupt enable status for a bank. More... | |
u32 | XGpioPs_IntrGetEnabledPin (XGpioPs *InstancePtr, u32 Pin) |
This function returns whether interrupts are enabled for the specified pin. More... | |
u32 | XGpioPs_IntrGetStatus (XGpioPs *InstancePtr, u8 Bank) |
This function returns interrupt status read from Interrupt Status Register. More... | |
u32 | XGpioPs_IntrGetStatusPin (XGpioPs *InstancePtr, u32 Pin) |
This function returns interrupt enable status of the specified pin. More... | |
void | XGpioPs_IntrClear (XGpioPs *InstancePtr, u8 Bank, u32 Mask) |
This function clears pending interrupt(s) with the provided mask. More... | |
void | XGpioPs_IntrClearPin (XGpioPs *InstancePtr, u32 Pin) |
This function clears the specified pending interrupt. More... | |
void | XGpioPs_SetIntrType (XGpioPs *InstancePtr, u8 Bank, u32 IntrType, u32 IntrPolarity, u32 IntrOnAny) |
This function is used for setting the Interrupt Type, Interrupt Polarity and Interrupt On Any for the specified GPIO Bank pins. More... | |
void | XGpioPs_GetIntrType (XGpioPs *InstancePtr, u8 Bank, u32 *IntrType, u32 *IntrPolarity, u32 *IntrOnAny) |
This function is used for getting the Interrupt Type, Interrupt Polarity and Interrupt On Any for the specified GPIO Bank pins. More... | |
void | XGpioPs_SetIntrTypePin (XGpioPs *InstancePtr, u32 Pin, u8 IrqType) |
This function is used for setting the IRQ Type of a single GPIO pin. More... | |
u8 | XGpioPs_GetIntrTypePin (XGpioPs *InstancePtr, u32 Pin) |
This function returns the IRQ Type of a given GPIO pin. More... | |
void | XGpioPs_SetCallbackHandler (XGpioPs *InstancePtr, void *CallBackRef, XGpioPs_Handler FuncPointer) |
This function sets the status callback function. More... | |
void | XGpioPs_IntrHandler (XGpioPs *InstancePtr) |
This function is the interrupt handler for GPIO interrupts.It checks the interrupt status registers of all the banks to determine the actual bank in which an interrupt has been triggered. More... | |