COSA
An Object-Oriented Platform for Arduino Programming
Adafruit_I2C_LCD_Backpack::port_t Union Reference

#include <Adafruit_I2C_LCD_Backpack.hh>

Collaboration diagram for Adafruit_I2C_LCD_Backpack::port_t:
Collaboration graph

Public Member Functions

 operator uint8_t ()
 
 port_t ()
 

Public Attributes

uint8_t as_uint8
 Unsigned byte access. More...
 
struct {
   uint8_t   nc:1
 Not connected (GP0). More...
 
   uint8_t   rs:1
 Command/Data select (GP1). More...
 
   uint8_t   en:1
 Enable pulse (GP2). More...
 
   uint8_t   data:4
 Data port (GP3..GP6). More...
 
   uint8_t   bt:1
 Back-light (GP7). More...
 
}; 
 

Detailed Description

Expander port bit fields; little endian.

Definition at line 112 of file Adafruit_I2C_LCD_Backpack.hh.

Constructor & Destructor Documentation

Adafruit_I2C_LCD_Backpack::port_t::port_t ( )
inline

Definition at line 125 of file Adafruit_I2C_LCD_Backpack.hh.

Member Function Documentation

Adafruit_I2C_LCD_Backpack::port_t::operator uint8_t ( )
inline

Definition at line 121 of file Adafruit_I2C_LCD_Backpack.hh.

Member Data Documentation

struct { ... }
uint8_t Adafruit_I2C_LCD_Backpack::port_t::as_uint8

Unsigned byte access.

Definition at line 113 of file Adafruit_I2C_LCD_Backpack.hh.

uint8_t Adafruit_I2C_LCD_Backpack::port_t::bt

Back-light (GP7).

Definition at line 119 of file Adafruit_I2C_LCD_Backpack.hh.

uint8_t Adafruit_I2C_LCD_Backpack::port_t::data

Data port (GP3..GP6).

Definition at line 118 of file Adafruit_I2C_LCD_Backpack.hh.

uint8_t Adafruit_I2C_LCD_Backpack::port_t::en

Enable pulse (GP2).

Definition at line 117 of file Adafruit_I2C_LCD_Backpack.hh.

uint8_t Adafruit_I2C_LCD_Backpack::port_t::nc

Not connected (GP0).

Definition at line 115 of file Adafruit_I2C_LCD_Backpack.hh.

uint8_t Adafruit_I2C_LCD_Backpack::port_t::rs

Command/Data select (GP1).

Definition at line 116 of file Adafruit_I2C_LCD_Backpack.hh.


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