LOGGER  Logger
Data Logging using ESP8266
tca9539.h
Go to the documentation of this file.
1 //
6 // Copyright (c) 2016 by Dragonnorth Group, all rights reserved.
7 //
8 // Author: Michael Newman
9 #ifndef tca9539Hedit
10 #define tca9539Hedit 1
11 // 24Feb16 MJNewman 1: Created
12 //
13 // An unrestricted license to this software is granted to:
14 // No grants yet.
15 // and may be granted to others.
16 
17 #include "basetype.h"
18 
19 
22 extern void tca9539init();
23 
36 
37 extern uint32_t tca9539readPin(uint8_t *pUniqueID,uint8_t pinNumber);
38 
47 extern int32_t tca9539getDesiredOutputs(uint8_t address);
48 
49 
59 extern bool tca9539setDesiredOutputs(uint8_t address,uint16_t value);
60 
70 extern int32_t tca9539getConfiguration(uint8_t address);
71 
82 extern bool tca9539setConfiguration(uint8_t address,uint16_t value);
83 
84 
93 extern bool tca9539dumpState(Print *pPrinter,uint8_t address);
94 
95 
103 extern void tca9539emitConfiguror(Print *pPrint,
104  uint8_t pinIndex,
105  bool setIOconfig,
106  bool ioIsOutput,
107  bool ioIsOn
108  );
109 
116 extern void tca9539checkPinChanges();
117 
118 #endif // defined(tca9539Hedit)
uint32_t tca9539readPin(uint8_t *pUniqueID, uint8_t pinNumber)
Definition: tca9539.cpp:167
bool tca9539setDesiredOutputs(uint8_t address, uint16_t value)
Definition: tca9539.cpp:182
int32_t tca9539getConfiguration(uint8_t address)
Definition: tca9539.cpp:236
void tca9539checkPinChanges()
Definition: tca9539.cpp:491
bool tca9539setConfiguration(uint8_t address, uint16_t value)
Definition: tca9539.cpp:246
bool tca9539dumpState(Print *pPrinter, uint8_t address)
Definition: tca9539.cpp:301
int32_t tca9539getDesiredOutputs(uint8_t address)
Definition: tca9539.cpp:172
void tca9539emitConfiguror(Print *pPrint, uint8_t pinIndex, bool setIOconfig, bool ioIsOutput, bool ioIsOn)
Definition: tca9539.cpp:377
void tca9539init()
< version of this include file
Definition: tca9539.cpp:92