dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Linux I2C functionality. More...

Files

file  pios_i2c.h
 Debug helper functions header.
 

Data Structures

struct  pios_i2c_txn
 

Typedefs

typedef struct pios_i2c_adapter * pios_i2c_t
 

Enumerations

enum  pios_i2c_txn_direction { PIOS_I2C_TXN_READ, PIOS_I2C_TXN_WRITE }
 

Functions

int32_t PIOS_I2C_CheckClear (pios_i2c_t i2c_id)
 
int32_t PIOS_I2C_Transfer (pios_i2c_t i2c_id, const struct pios_i2c_txn txn_list[], uint32_t num_txns)
 
int32_t PIOS_I2C_Transfer_Callback (pios_i2c_t i2c_id, const struct pios_i2c_txn txn_list[], uint32_t, void *callback)
 
void PIOS_I2C_EV_IRQ_Handler (pios_i2c_t i2c_id)
 
void PIOS_I2C_ER_IRQ_Handler (pios_i2c_t i2c_id)
 

Detailed Description

Linux I2C functionality.

STM32F4xx Hardware dependent I2C functionality.

Typedef Documentation

typedef struct pios_i2c_adapter* pios_i2c_t

Definition at line 48 of file pios_i2c.h.

Enumeration Type Documentation

Enumerator
PIOS_I2C_TXN_READ 
PIOS_I2C_TXN_WRITE 

Definition at line 35 of file pios_i2c.h.

Function Documentation

int32_t PIOS_I2C_CheckClear ( pios_i2c_t  i2c_id)
void PIOS_I2C_ER_IRQ_Handler ( pios_i2c_t  i2c_id)
void PIOS_I2C_EV_IRQ_Handler ( pios_i2c_t  i2c_id)
int32_t PIOS_I2C_Transfer ( pios_i2c_t  i2c_id,
const struct pios_i2c_txn  txn_list[],
uint32_t  num_txns 
)
int32_t PIOS_I2C_Transfer_Callback ( pios_i2c_t  i2c_id,
const struct pios_i2c_txn  txn_list[],
uint32_t  ,
void *  callback 
)