Data Structures |
union | transfer_state_t |
struct | iic_rec_t |
Defines |
#define | MIOS32_IIC0_SCL_PORT GPIOB |
#define | MIOS32_IIC0_SCL_PIN GPIO_Pin_10 |
#define | MIOS32_IIC0_SCL_AF { GPIO_PinAFConfig(GPIOB, GPIO_PinSource10, GPIO_AF_I2C2); } |
#define | MIOS32_IIC0_SDA_PORT GPIOB |
#define | MIOS32_IIC0_SDA_PIN GPIO_Pin_11 |
#define | MIOS32_IIC0_SDA_AF { GPIO_PinAFConfig(GPIOB, GPIO_PinSource11, GPIO_AF_I2C2); } |
#define | MIOS32_IIC1_SCL_PORT GPIOB |
#define | MIOS32_IIC1_SCL_PIN GPIO_Pin_6 |
#define | MIOS32_IIC1_SCL_AF { GPIO_PinAFConfig(GPIOB, GPIO_PinSource6, GPIO_AF_I2C1); } |
#define | MIOS32_IIC1_SDA_PORT GPIOB |
#define | MIOS32_IIC1_SDA_PIN GPIO_Pin_9 |
#define | MIOS32_IIC1_SDA_AF { GPIO_PinAFConfig(GPIOB, GPIO_PinSource9, GPIO_AF_I2C1); } |
Functions |
s32 | MIOS32_IIC_Init (u32 mode) |
s32 | MIOS32_IIC_TransferBegin (u8 iic_port, mios32_iic_semaphore_t semaphore_type) |
s32 | MIOS32_IIC_TransferFinished (u8 iic_port) |
s32 | MIOS32_IIC_LastErrorGet (u8 iic_port) |
s32 | MIOS32_IIC_TransferCheck (u8 iic_port) |
s32 | MIOS32_IIC_TransferWait (u8 iic_port) |
s32 | MIOS32_IIC_Transfer (u8 iic_port, mios32_iic_transfer_t transfer, u8 address, u8 *buffer, u16 len) |
void | I2C2_EV_IRQHandler (void) |
void | I2C2_ER_IRQHandler (void) |