Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
i2c_arch.c File Reference

Dummy functions for handling of I2C hardware in sim. More...

#include "mcu_periph/i2c.h"
+ Include dependency graph for i2c_arch.c:

Go to the source code of this file.

Functions

static bool i2c_sim_idle (struct i2c_periph *p)
 
static bool i2c_sim_submit (struct i2c_periph *p, struct i2c_transaction *t)
 
static void i2c_sim_setbitrate (struct i2c_periph *p, int bitrate)
 
void i2c_event (void)
 i2c_event() function More...
 

Detailed Description

Dummy functions for handling of I2C hardware in sim.

Definition in file i2c_arch.c.

Function Documentation

◆ i2c_sim_idle()

static bool i2c_sim_idle ( struct i2c_periph p)
static

Definition at line 30 of file i2c_arch.c.

◆ i2c_sim_setbitrate()

static void i2c_sim_setbitrate ( struct i2c_periph p,
int  bitrate 
)
static

Definition at line 32 of file i2c_arch.c.

◆ i2c_sim_submit()

static bool i2c_sim_submit ( struct i2c_periph p,
struct i2c_transaction t 
)
static

Definition at line 31 of file i2c_arch.c.