Below is a list of API functions output by the Code Generator for I2C bus interface use.
Table 3.27 API Functions: [I2C Bus Interface]
API Function Name |
Function |
Performs initialization necessary to control the I2C bus interface. | |
Performs user-defined initialization relating to the I2C bus interface. | |
Performs processing in response to the transfer error/event generation interrupts (EEI). | |
Performs processing in response to the receive data full interrupts (RXI). | |
Performs processing in response to the transmit data empty interrupts (TXI). | |
Performs processing in response to the transmit end interrupts (TEI). | |
Starts RIIC communication. | |
Ends RIIC communication. | |
Starts RIIC master transmission. | |
Starts RIIC master reception. | |
Starts RIIC slave transmission. | |
Starts RIIC slave reception. | |
Issues the start condition and causes a transfer error and an event generation interrupt (EEI). | |
Issues the stop condition and causes a transfer error and an event generation interrupt (EEI). | |
Of the internal processing for transfer error/event generation interrupts (EEI), this function handles processing specialized in the arbitration-lost detection, NACK detection, and timeout detection. | |
Of the internal processing for transfer error/event generation interrupts (EEI), this function handles processing specialized in the start condition detection in response to calling of R_RIICn_Master_Send. | |
Of the interrupt processing for transfer error/event generation interrupts (EEI), processing specialized in the start condition detection in response to calling of R_RIICn_Master_Receive is performed. |