I2C Protocol¶
The Inter-Integrated Circuit (I2C) protocol is widely used for short-distance, intra-board communication. AQPXLIB supports I2C bus emulation, allowing you to create buses, attach targets, and perform controller operations.
Supported Features¶
- Bus Creation: Initialize I2C buses with configurable SCL/SDA pins.
- Targets: Emulate 32-bit register targets, byte-addressable memory targets, or FIFO targets.
- Electrical Configuration: Adjust voltage, pull-up resistors, and thresholds.
Classes¶
PxI2CController: The standard I2C controller interface.PxI2C32BitRegisterTarget: A generic I2C target with 32-bit registers.PxI2C8BitAddressMemoryTarget: A byte-addressable memory target with 8-bit sub-addressing.PxI2CFifoTarget: An I2C target with host-accessible RX/TX FIFOs and packeted bus events.PxI2C4KbMemoryTarget: A byte-addressable memory target with 16-bit sub-addressing (4 KB).