Hubo Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Data Fields
HuboLib::I2C_Config Class Reference

Use to configure I2C specific parameters. More...

#include <hubocfg.h>

Public Member Functions

 I2C_Config ()
 

Data Fields

unsigned char m_MCP23017DeviceAddress
 
unsigned char m_MCP23017SlaveDeviceAddressList [MAX_MCP23017_SLAVES]
 
unsigned short m_MCP23017SlaveCycleTickDivider
 
const char * m_sI2CDevice
 

Detailed Description

Use to configure I2C specific parameters.

Parameters
m_MCP23017DeviceAddressUse to specify the I2C address e.g. 0x20.
See also
Initialize()
Note
Changes to the configuration must be made prior to a call to Initialize().

Definition at line 40 of file hubocfg.h.

Constructor & Destructor Documentation

HuboLib::I2C_Config::I2C_Config ( )

Field Documentation

unsigned char HuboLib::I2C_Config::m_MCP23017DeviceAddress

Definition at line 45 of file hubocfg.h.

unsigned short HuboLib::I2C_Config::m_MCP23017SlaveCycleTickDivider

Definition at line 47 of file hubocfg.h.

unsigned char HuboLib::I2C_Config::m_MCP23017SlaveDeviceAddressList[MAX_MCP23017_SLAVES]

Definition at line 46 of file hubocfg.h.

const char* HuboLib::I2C_Config::m_sI2CDevice

Definition at line 48 of file hubocfg.h.


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