xadcps: Examples

| xadcps Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Examples

You can refer to the below stated example applications for more details on how to use xadcps driver.

# xadcps_intr_example.c

Contains an example on how to use the XAdcps driver directly. This example shows the usage of the driver in interrupt mode to handle on-chip temperature and voltage alarm interrupts.

For details, see xadcps_intr_example.c.

# xadcps_polled_printf_example.c

Contains an example on how to use the XAdcps driver directly. This example shows the usage of the driver in polled mode to handle on-chip temperature and voltage alarm interrupts.

For details, see xadcps_polled_printf_example.c.