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

#include <HD44780.hh>

Collaboration diagram for HD44780::SR3WSPI::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   data:4
 Data port (Q0..Q3). More...
 
   uint8_t   rs:1
 Command/Data select (Q4). More...
 
   uint8_t   bt:1
 Back-light control (Q5). More...
 
   uint8_t   app2:1
 Application bit#2 (Q6). More...
 
   uint8_t   app1:1
 Application bit#1 (Q7). More...
 
}; 
 

Detailed Description

Shift register port bit fields; little endian.

Definition at line 676 of file HD44780.hh.

Constructor & Destructor Documentation

HD44780::SR3WSPI::port_t::port_t ( )
inline

Definition at line 689 of file HD44780.hh.

Member Function Documentation

HD44780::SR3WSPI::port_t::operator uint8_t ( )
inline

Definition at line 685 of file HD44780.hh.

Member Data Documentation

struct { ... }
uint8_t HD44780::SR3WSPI::port_t::app1

Application bit#1 (Q7).

Definition at line 683 of file HD44780.hh.

uint8_t HD44780::SR3WSPI::port_t::app2

Application bit#2 (Q6).

Definition at line 682 of file HD44780.hh.

uint8_t HD44780::SR3WSPI::port_t::as_uint8

Unsigned byte access.

Definition at line 677 of file HD44780.hh.

uint8_t HD44780::SR3WSPI::port_t::bt

Back-light control (Q5).

Definition at line 681 of file HD44780.hh.

uint8_t HD44780::SR3WSPI::port_t::data

Data port (Q0..Q3).

Definition at line 679 of file HD44780.hh.

uint8_t HD44780::SR3WSPI::port_t::rs

Command/Data select (Q4).

Definition at line 680 of file HD44780.hh.


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