ChibiOS/HAL  6.1.0
hal_i2c_lld.c File Reference

PLATFORM I2C subsystem low level driver source. More...

#include "hal.h"

Go to the source code of this file.

Functions

void i2c_lld_init (void)
 Low level I2C driver initialization. More...
 
void i2c_lld_start (I2CDriver *i2cp)
 Configures and activates the I2C peripheral. More...
 
void i2c_lld_stop (I2CDriver *i2cp)
 Deactivates the I2C peripheral. More...
 
msg_t i2c_lld_master_receive_timeout (I2CDriver *i2cp, i2caddr_t addr, uint8_t *rxbuf, size_t rxbytes, sysinterval_t timeout)
 Receives data via the I2C bus as master. More...
 
msg_t i2c_lld_master_transmit_timeout (I2CDriver *i2cp, i2caddr_t addr, const uint8_t *txbuf, size_t txbytes, uint8_t *rxbuf, size_t rxbytes, sysinterval_t timeout)
 Transmits data via the I2C bus as master. More...
 

Variables

I2CDriver I2CD1
 I2C1 driver identifier. More...
 

Detailed Description

PLATFORM I2C subsystem low level driver source.

Definition in file hal_i2c_lld.c.