gpio
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Macros Groups Pages
xgpio_extra.c File Reference

Overview

Implements the advanced discrete functions of the XGpio driver.

See xgpio.h for more information about the driver.

Note
These APIs can only be used if the GPIO_IO ports in the IP are used for connecting to the external output ports.
MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00a rmm 02/04/02 First release 2.00a jhl 12/16/02 Update for dual channel and interrupt support 2.11a mta 03/21/07 Updated to new coding style 3.00a sv 11/21/09 Updated to use HAL Processor APIs. Renamed the macros XGpio_mWriteReg to XGpio_WriteReg, and XGpio_mReadReg to XGpio_ReadReg. 4.14 vn 07/30/26 Fix Doxygen warnings 4.14 vn 09/10/26 Align Doxygen comments with AMD standards

#include "xgpio.h"
#include "xgpio_i.h"

Functions

void XGpio_DiscreteSet (XGpio *InstancePtr, unsigned Channel, u32 Mask)
 Sets output discretes to logic 1 for the specified GPIO channel. More...
 
void XGpio_DiscreteClear (XGpio *InstancePtr, unsigned Channel, u32 Mask)
 Sets output discretes to logic 0 for the specified GPIO channel. More...