Apps
Components
Interfaces
All Files
Source Tree
source:
tos.platform.mica.I2CM.nc
Component: I2CM
Provided Interfaces
StdControl
I2C
Variables
char state
char local_data
result_t result
Function Index
void
wait
(void)
void
SET_CLOCK
(void)
void
CLEAR_CLOCK
(void)
void
MAKE_CLOCK_OUTPUT
(void)
void
MAKE_CLOCK_INPUT
(void)
void
SET_DATA
(void)
void
CLEAR_DATA
(void)
void
MAKE_DATA_OUTPUT
(void)
void
MAKE_DATA_INPUT
(void)
char
GET_DATA
(void)
void
pulse_clock
(void)
char
read_bit
(void)
char
i2c_read
(void)
char
i2c_write
(char c)
void
i2c_start
(void)
void
i2c_ack
(void)
void
i2c_nack
(void)
void
i2c_end
(void)
task void
I2C_task
(void)
command result_t
StdControl.init
(void)
command result_t
StdControl.start
(void)
command result_t
StdControl.stop
(void)
command result_t
I2C.sendStart
(void)
command result_t
I2C.sendEnd
(void)
command result_t
I2C.read
(bool ack)
command result_t
I2C.write
(char data)
event result_t
I2C.sendStartDone
(void)
event result_t
I2C.sendEndDone
(void)
event result_t
I2C.readDone
(char data)
event result_t
I2C.writeDone
(bool success)