![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | INPUT_REG 0x00 |
#define | OUTPUT_REG 0x01 |
#define | INPUT_INVERT_REG 0x02 |
#define | IO_CONFIG_REG 0x03 |
Functions | |
uint8_t | pca9538_read_input (void) |
void | pca9538_set_output (uint8_t val) |
struct device * | pca9538_get_dev (void) |
Referenced by pca9538_read_input(), and pca9538_set_output().
Definition at line 9 of file pca9538.c.
References i2c_dev_readb_at(), INPUT_REG, and pca9538_get_dev().
Definition at line 20 of file pca9538.c.
References i2c_dev_writeb_at(), OUTPUT_REG, pca9538_get_dev(), and val.