26 #ifndef LIBBSP_ARM_STM32F4_I2C_H 27 #define LIBBSP_ARM_STM32F4_I2C_H rtems_status_code stm32f4_i2c_set_bitrate(stm32f4_i2c_bus_entry *e, uint32_t br)
Set another baud rate than the default one.
Definition: i2c.c:50
ssize_t read(int fd, void *buffer, size_t count)
Definition: read.c:27
size_t len
Size of data to read or write.
Definition: i2c.h:54
Definition: stm32_i2c.h:33
rtems_status_code stm32f4_i2c_process_message(stm32f4_i2c_bus_entry *e, stm32f4_i2c_message *msg)
Process a i2c message.
Definition: i2c.c:269
uint8_t * buf
Buffer for data.
Definition: i2c.h:56
bool read
Read (true) or write (false) data.
Definition: i2c.h:52
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
rtems_status_code
Classic API Status.
Definition: status.h:43
uint16_t addr
The address of the slave without the read write bit. A 7-Bit address should be placed in the bits [6...
Definition: i2c.h:50
Definition: b1553brm.c:75
rtems_status_code stm32f4_i2c_init(stm32f4_i2c_bus_entry *e)
Initialise the i2c module.
Definition: i2c.c:216
unsigned e
Definition: tlb.h:223
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83