Include
ao_i2c.h |
ao_sys.h |
stdbool.h |
xc.h |
Configuration
AO_I2C_5
#define AO_I2C_5 (false)
Defines whether to use the module.
Functions
ao_i2c_baud_5
#define ao_i2c_baud_5(f) \
( \
ao_i2c_baud \
( \
ao_i2c_reg_5(), \
AO_SYS_CLOCK_I2C5, \
f \
) \
)
Sets up the baud rate, in bits per second.
ao_i2c_reg_5
#define ao_i2c_reg_5() \
( \
(ao_i2c_reg_t *) \
( \
_I2C5_BASE_ADDRESS \
) \
)
Gets the control registers.