#include <otMCP23008.h>
Inheritance diagram for otMCP23008:
Public Member Functions | |
otMCP23008 () | |
void | init (U8 addressIndex=0) |
U8 | pinRead (U8 pin) |
void | pinWrite (U8 pin, bool set) |
void | pinPullUp (U8 pin, bool ena) |
void | pinMode (U8 pin, bool input) |
void | write (U8 data) |
U8 | read () |
|
Init the class |
|
Set the base address
Reimplemented in otMultimediaShield. |
|
Set the direction of a selected pin
|
|
Enable or disable a pull up on a selected pin
|
|
Read the value of a specified pin
|
|
Set a pin to a desidered value
|
|
Read the port contents. |
|
Writes all 8 bits of the port.
|