The Serial Communications Block (SCB) supports three serial communication protocols: Serial Peripheral Interface (SPI), Universal Asynchronous Receiver Transmitter (UART), and Inter Integrated Circuit (I2C or IIC).
Only one of the protocols is supported by an SCB at any given time.
The functions and other declarations used in this driver are in cy_scb_spi.h, cy_scb_uart.h, cy_scb_ezi2c.h, cy_scb_i2c.h respectively. Include cy_pdl.h to get access to all functions and declarations in the PDL.
For more information on the SCB peripheral, refer to the technical reference manual (TRM).
API Reference | |
| Common | |
| Common API for the Serial Communication Block. | |
| EZI2C (SCB) | |
| Driver API for EZI2C Slave Peripheral. | |
| I2C (SCB) | |
| Driver API for I2C Bus Peripheral. | |
| SPI (SCB) | |
| Driver API for SPI Peripheral. | |
| UART (SCB) | |
| Driver API for UART. | |