We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 17677

3.2 EDK - The "xgpio_example.c" uses incorrect macro calls in the second example


Keywords: edk, xgpio, macro

Urgency: Standard

General Description:
In "xgpio_example.c", located in the examples folder for the "gpio_v1_00_a" directory under the EDK install tree, there are two examples of how to exercise a gpio core. In the second example there are calls to macros such as "XGPIO_REGISTER_WRITE(...)" which aren't defined anywhere.


This is a typo. The macros that should be used here are the ones defined in the "xgpio_l.h" header file. They follow the format "XGpio_mWriteReg(...)".
AR# 17677
Date Created 07/24/2003
Last Updated 04/28/2006
Status Archive
Type General Article