![]() |
Bare Metal Programming Tool Kit
|
interface for a pcf8547a I2C 8 bit I/O extender More...
#include <pcf8574.h>
Additional Inherited Members | |
Public Types inherited from bmptk::hardware::port_buffer_oc< pcf8574x_channel< bus, 0x70, address > > | |
| typedef single_pin< 0 > | pin_0 |
| pin 0, open-collector/input | |
| typedef single_pin< 1 > | pin_1 |
| pin 1, open-collector/input | |
| typedef single_pin< 2 > | pin_2 |
| pin 2, open-collector/input | |
| typedef single_pin< 3 > | pin_3 |
| pin 3, open-collector/input | |
| typedef single_pin< 4 > | pin_4 |
| pin 4, open-collector/input | |
| typedef single_pin< 5 > | pin_5 |
| pin 5, open-collector/input | |
| typedef single_pin< 6 > | pin_6 |
| pin 6, open-collector/input | |
| typedef single_pin< 7 > | pin_7 |
| pin 7, open-collector/input | |
Static Public Member Functions inherited from bmptk::hardware::port_buffer_oc< pcf8574x_channel< bus, 0x70, address > > | |
| static void | init () |
| initialize the port as input | |
| static void | set (unsigned int x) |
| set the curret level on the pins in the port | |
| static int | n_pins () |
| return the number of pins in this port (8) | |
| static unsigned int | get () |
| get the current values of the pins in the port | |
interface for a pcf8547a I2C 8 bit I/O extender
1.8.2