144
Libraries
© 2008 Conrad Electronic
void I2C_Init(byte I2C_BR);
Sub I2C_Init(I2C_BR As Byte)
Description
This function initializes the I2C interface.
Parameter
I2C_BR describes the baud rate. The following values are predefined:
I2C_100kHz
I2C_400kHz
6.8.2
I2C_Read_ACK
I2C Functions
Syntax
byte I2C_Read_ACK(void);
Sub I2C_Read_ACK() As Byte
Description
This function receives a byte and acknowledges with ACK. Afterwards the status of the interface can be
returned with
Return Parameter
value read from the I2C bus
6.8.3
I2C_Read_NACK
I2C Functions
Syntax
byte I2C_Read_NACK(void);
Sub I2C_Read_NACK() As Byte
Description
This function receives a byte and acknowledges with NACK. Afterwards the status of the interface can be
returned with
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......