#include <mios32.h>
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_SDA_PORT GPIOB |
#define | MIOS32_IIC0_SDA_PIN GPIO_Pin_11 |
#define | MIOS32_IIC1_SCL_PORT GPIOB |
#define | MIOS32_IIC1_SCL_PIN GPIO_Pin_6 |
#define | MIOS32_IIC1_SDA_PORT GPIOB |
#define | MIOS32_IIC1_SDA_PIN GPIO_Pin_7 |
#define | MIOS32_IIC0_DUTYCYCLE I2C_DutyCycle_2 |
#define | MIOS32_IIC1_DUTYCYCLE I2C_DutyCycle_2 |
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) |