20#ifndef LIBBSP_ARM_STM32F4_I2C_H
21#define LIBBSP_ARM_STM32F4_I2C_H
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
rtems_status_code stm32f4_i2c_process_message(stm32f4_i2c_bus_entry *e, stm32f4_i2c_message *msg)
Process a i2c message.
Definition: i2c.c:263
rtems_status_code stm32f4_i2c_init(stm32f4_i2c_bus_entry *e)
Initialise the i2c module.
Definition: i2c.c:210
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:44
ssize_t read(int fd, void *buffer, size_t count)
Definition: read.c:46
This header file defines the RTEMS Classic API.
Definition: b1553brm.c:94
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:44
uint8_t * buf
Buffer for data.
Definition: i2c.h:50
size_t len
Size of data to read or write.
Definition: i2c.h:48
bool read
Read (true) or write (false) data.
Definition: i2c.h:46
Definition: stm32_i2c.h:27
unsigned e
Definition: tlb.h:13