pca9555.h File Reference

Go to the source code of this file.

Functions

int IOExpInit (void)
int IOExpRawWrite (uint8_t port, uint8_t value)
int IOExpRawRead (uint8_t port, uint8_t *value)
int IOExpSetBit (uint8_t port, uint8_t bit)
int IOExpClrBit (uint8_t port, uint8_t bit)
int IOExpGetBit (uint8_t port, uint8_t bit, uint8_t *value)


Function Documentation

int IOExpInit ( void   ) 

Definition at line 55 of file pca9555.c.

References I2C_SLA_IOEXP, and TwMasterRegWrite().

int IOExpRawWrite ( uint8_t  port,
uint8_t  value 
)

Definition at line 84 of file pca9555.c.

References I2C_SLA_IOEXP, and TwMasterRegWrite().

int IOExpRawRead ( uint8_t  port,
uint8_t value 
)

Definition at line 97 of file pca9555.c.

References I2C_SLA_IOEXP, and TwMasterRegRead().

int IOExpSetBit ( uint8_t  port,
uint8_t  bit 
)

Definition at line 125 of file pca9555.c.

References I2C_SLA_IOEXP, and TwMasterRegWrite().

int IOExpClrBit ( uint8_t  port,
uint8_t  bit 
)

Definition at line 138 of file pca9555.c.

References I2C_SLA_IOEXP, and TwMasterRegWrite().

int IOExpGetBit ( uint8_t  port,
uint8_t  bit,
uint8_t value 
)

Definition at line 109 of file pca9555.c.

References I2C_SLA_IOEXP, and TwMasterRegRead().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/