NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
i2c.h File Reference
#include <stdint.h>
Include dependency graph for i2c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 custom_i2c
 

Functions

int custom_i2c::i2c_open (const char *bus, uint8_t addr)
 
int custom_i2c::i2c_set_retries (int handle, int retries)
 
int custom_i2c::i2c_set_timeout (int handle, int timeout)
 
int custom_i2c::i2c_write (int handle, uint8_t *buf, unsigned int length)
 
int custom_i2c::i2c_read (int handle, uint8_t *buf, unsigned int length)
 
int custom_i2c::i2c_write_read (int handle, uint8_t addr_w, uint8_t *buf_w, unsigned int len_w, uint8_t addr_r, uint8_t *buf_r, unsigned int len_r)
 
int custom_i2c::i2c_write_ignore_nack (int handle, uint8_t addr_w, uint8_t *buf, unsigned int length)
 
int custom_i2c::i2c_read_no_ack (int handle, uint8_t addr_r, uint8_t *buf, unsigned int length)
 
int custom_i2c::i2c_write_byte (int handle, uint8_t val)
 
int custom_i2c::i2c_read_byte (int handle, uint8_t *val)
 
int custom_i2c::i2c_close (int handle)
 
int custom_i2c::delay_ms (unsigned int msec)