|
at24cm0x 1.0
at24cm0x driver library
|
Macros for abstracting SSD130X TWI (I2C) communication interface. More...
Macros | |
| #define | TWI_SOFT_HEADER _STR(../../../hal/SSD130X_HAL_PLATFORM/twi_soft/twi_soft.h) |
| #define | SSD130X_START(MODE) |
| #define | SSD130X_STOP() |
| #define | SSD130X_DATA() |
Macros for abstracting SSD130X TWI (I2C) communication interface.
These macros provide a unified interface for starting, stopping, and sending data over the TWI bus to the SSD130X display, abstracting the use of either software-based or hardware-based TWI implementations.
Individual macros:
This abstraction simplifies SSD130X communication by hiding the underlying method, enabling easy switching between hardware and software TWI implementations without changing higher-level code.
| #define SSD130X_DATA | ( | ) |
| #define SSD130X_START | ( | MODE | ) |
| #define SSD130X_STOP | ( | ) |
| #define TWI_SOFT_HEADER _STR(../../../hal/SSD130X_HAL_PLATFORM/twi_soft/twi_soft.h) |