Mcp320x
Data Fields
MCP320x< ChannelType >::SpiData Union Reference

Data Fields

uint16_t value
 
struct {
   uint8_t   loByte
 
   uint8_t   hiByte
 
}; 
 

Detailed Description

template<typename ChannelType>
union MCP320x< ChannelType >::SpiData

Defines 16 bit SPI data. The structure implements an easy access to each byte.

Definition at line 363 of file Mcp320x.h.

Field Documentation

struct { ... }
template<typename ChannelType >
uint8_t MCP320x< ChannelType >::SpiData::hiByte

high byte

Definition at line 367 of file Mcp320x.h.

Referenced by MCP320x< ChannelType >::transfer().

template<typename ChannelType >
uint8_t MCP320x< ChannelType >::SpiData::loByte

low byte

Definition at line 366 of file Mcp320x.h.

Referenced by MCP320x< ChannelType >::transfer().

template<typename ChannelType >
uint16_t MCP320x< ChannelType >::SpiData::value

value

Definition at line 364 of file Mcp320x.h.

Referenced by MCP320x< ChannelType >::transfer().


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