iic
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xiic_intr.c File Reference

Overview

Implements IIC interrupt processing.

Contains interrupt functions of the XIic driver. This file is required for the driver.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.01a rfp 10/19/01 release 1.01c ecm 12/05/02 new rev 1.01c rmm 05/14/03 Fixed diab compiler warnings relating to asserts. 1.03a ecm 06/22/06 Added a call to the status handler in the TxErrorHandler even if the Rx buffer pointer is not set. This fix is as a result of a Sony use model which did not set the Rx pointer while in Master mode so it checks if MSMS == 1. 1.13a wgr 03/22/07 Converted to new coding style. 2.00a sdm 10/22/09 Converted all register accesses to 32 bit access. Updated to use the HAL APIs/macros. Some of the macros have been renamed to remove _m from the name and Some of the macros have been renamed to be consistent, see the xiic_l.h file for further information. 2.01a ktn 04/09/10 Updated TxErrorhandler to be called for Master Transmitter case based on Addressed As Slave (AAS) bit rather than MSMS bit(CR 540199). 2.06a bss 02/14/13 Modified TxErrorHandler in xiic_intr.c to fix CR #686483 Modified bitwise OR to logical OR in XIic_InterruptHandler API. 2.07a adk 18/04/13 Updated the code to avoid unused variable warnings when compiling with the -Wextra -Wall flags. In the file xiic.c and xiic_i.h. CR:705001 3.9 gm 08/02/22 Modified handling of XIIC_INTR_RX_FULL_MASK in xiic_intr.c to fix CR #1119930 handling RX FULL interrupt before TX error interrupt and clearing TX error interrupt while handling RX FULL interrupt when receive byte count is one, because here the TX error interrupt indicate NACK, not actually TX error. 3.16 vn 07/30/26 Fix Doxygen warnings 3.16 tb 09/22/26 Align Doxygen comments with AMD documentation standards

 
#include "xiic.h"
#include "xiic_i.h"

Functions

void XIic_InterruptHandler (void *InstancePtr)
 Handles interrupts for the XIic driver. More...
 
void XIic_TransmitFifoFill (XIic *InstancePtr, int Role)
 Fills the FIFO using the occupancy register to find available space. More...