Bare Metal Programming Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
List of all members
bmptk::chips::pcf8574a< bus, address > Class Template Reference

interface for a pcf8547a I2C 8 bit I/O extender More...

#include <pcf8574.h>

Inheritance diagram for bmptk::chips::pcf8574a< bus, address >:
bmptk::hardware::port_buffer_oc< pcf8574x_channel< bus, 0x70, address > > bmptk::hardware::port_oc

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
 

Detailed Description

template<typename bus, int address = 0>
class bmptk::chips::pcf8574a< bus, address >

interface for a pcf8547a I2C 8 bit I/O extender

Definition at line 79 of file pcf8574.h.


The documentation for this class was generated from the following file: