VitroIO SDK
Software development kit for Vitro Shard.
Loading...
Searching...
No Matches
io_expander.h File Reference
#include <mbed.h>
#include <vitroio-sdk/debug.h>
#include <vitroio-sdk/consts.h>
Include dependency graph for io_expander.h:

Go to the source code of this file.

Classes

class  vitroio::sdk::impl::IOExpander
 

Namespaces

namespace  vitroio
 The namespace contains all of components of vitro-shard-sdk and components based on the sdk. It is suggested to place types inherited from the sdk components in this namespace e.g. implementations of sensors drivers/interfaces.
 
namespace  vitroio::sdk
 The namespace contains all of components defined by vitro-shard-sdk.
 
namespace  vitroio::sdk::impl
 The namespace contains internal components of vitro-shard-sdk. These components should not be used by user.
 

Macros

#define IOEXPANDER_CMD_READ_0   0x00
 
#define IOEXPANDER_CMD_READ_1   0x01
 
#define IOEXPANDER_CMD_WRITE_0   0x02
 
#define IOEXPANDER_CMD_WRITE_1   0x03
 
#define IOEXPANDER_CMD_CONFIGURE_0   0x06
 
#define IOEXPANDER_CMD_CONFIGURE_1   0x07
 

Macro Definition Documentation

◆ IOEXPANDER_CMD_CONFIGURE_0

#define IOEXPANDER_CMD_CONFIGURE_0   0x06

◆ IOEXPANDER_CMD_CONFIGURE_1

#define IOEXPANDER_CMD_CONFIGURE_1   0x07

◆ IOEXPANDER_CMD_READ_0

#define IOEXPANDER_CMD_READ_0   0x00

◆ IOEXPANDER_CMD_READ_1

#define IOEXPANDER_CMD_READ_1   0x01

◆ IOEXPANDER_CMD_WRITE_0

#define IOEXPANDER_CMD_WRITE_0   0x02

◆ IOEXPANDER_CMD_WRITE_1

#define IOEXPANDER_CMD_WRITE_1   0x03