![]() |
ipipsu
Xilinx SDK Drivers API Documentation
|
This file consists of a self test example which uses the XIpiPsu driver to send an IPI message to self and get a response Each IPI channel can trigger an interrupt to itself and can exchange messages through the message buffer.
This feature is used here to exercise the driver APIs. Example control flow:
MODIFICATION HISTORY:
Ver Who Date Changes
2.2 ms 01/23/17 Modified xil_printf statement in main function to ensure that "Successfully ran" and "Failed" strings are available in all examples. This is a fix for CR-965028.
Functions | |
void | IpiIntrHandler (void *XIpiPsuPtr) |
Interrupt Handler : -Polls for each of the valid sources -Checks if there is a message -Reads the message -Inverts the bits -Sends back the inverted message as response. More... | |
int | main () |
void IpiIntrHandler | ( | void * | XIpiPsuPtr | ) |
Interrupt Handler : -Polls for each of the valid sources -Checks if there is a message -Reads the message -Inverts the bits -Sends back the inverted message as response.
< Holds the IPI status register value
< Holds the received Message, later inverted and sent back as response
int main | ( | ) |
Do Nothing We need to loop on to receive IPIs and respond to them
References XIpiPsu_LookupConfig().