Bare Metal Programming Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Static Public Member Functions | List of all members
bmptk::chips::pcf8574x_channel< bus, base, address > Struct Template Reference

channel for a pcf8547 or pcf8547a I2C 8 bit I/O extender More...

#include <pcf8574.h>

Static Public Member Functions

static void init ()
 initialize the i2c bus
 
static void set (unsigned int x)
 write a byte to the chip
 
static unsigned int get ()
 get a byte from the chip
 

Detailed Description

template<typename bus, int base, int address>
struct bmptk::chips::pcf8574x_channel< bus, base, address >

channel for a pcf8547 or pcf8547a I2C 8 bit I/O extender

Definition at line 38 of file pcf8574.h.


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