update
This commit is contained in:
17
i2c.h
Normal file
17
i2c.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* I2C_Slave_H_File.h
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef I2C_SLAVE_H_FILE_H_
|
||||
#define I2C_SLAVE_H_FILE_H_
|
||||
|
||||
#include <avr/io.h> /* Include AVR std. library file */
|
||||
|
||||
void I2C_Slave_Init(uint8_t slave_address); /* I2C slave initialize function with Slave address */
|
||||
int8_t I2C_Slave_Listen(); /* I2C slave listen function */
|
||||
int8_t I2C_Slave_Transmit(char data); /* I2C slave transmit function */
|
||||
char I2C_Slave_Receive(); /* I2C slave receive function */
|
||||
|
||||
#endif /* I2C_SLAVE_H_FILE_H_ */
|
Reference in New Issue
Block a user