Download Inhoudsopgave Inhoud Print deze pagina

Conrad Electronic C-Control Pro Mega Series Gebruiksaanwijzing pagina 127

Inhoudsopgave

Advertenties

5.4.8.3
I2C_Read_NACK
I2C functies
Voorbeeld
Syntax
byte I2C_Read_NACK(void);
Sub I2C_Read_NACK() As Byte
Beschrijving
Deze functie ontvangt een byte en bevestigt met NACK. Daarna kan met I2C_Status de
status van de interface opgevraagd worden.
Returnwaarde
Gelezen waarde van de I2C bus
5.4.8.4
I2C_Start
I2C functies
Voorbeeld
Syntax
void I2C_Start(void);
Sub I2C_Start()
Beschrijving
Deze functie start de communicatie met een startsequentie. Daarna kan met I2C_Status de
status van de interface opgevraagd worden.
Parameter
Geen
5.4.8.5
I2C_Status
I
2C functies
Syntax
byte I2C_Status(void);
Sub I2C_Status()
Beschrijving
Met I2C_Status kan de status van de interface opgevraagd worden. De betekenis van de
statusinformatie is weergegeven in de tabel.
123

Advertenties

Inhoudsopgave
loading

Gerelateerde Producten voor Conrad Electronic C-Control Pro Mega Series

Inhoudsopgave