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

#include <HD44780.hh>

Collaboration diagram for HD44780::SR3W::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 543 of file HD44780.hh.

Constructor & Destructor Documentation

HD44780::SR3W::port_t::port_t ( )
inline

Definition at line 556 of file HD44780.hh.

Member Function Documentation

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

Definition at line 552 of file HD44780.hh.

Member Data Documentation

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

Application bit#1 (Q7).

Definition at line 550 of file HD44780.hh.

uint8_t HD44780::SR3W::port_t::app2

Application bit#2 (Q6).

Definition at line 549 of file HD44780.hh.

uint8_t HD44780::SR3W::port_t::as_uint8

Unsigned byte access.

Definition at line 544 of file HD44780.hh.

uint8_t HD44780::SR3W::port_t::bt

Back-light control (Q5).

Definition at line 548 of file HD44780.hh.

uint8_t HD44780::SR3W::port_t::data

Data port (Q0..Q3).

Definition at line 546 of file HD44780.hh.

uint8_t HD44780::SR3W::port_t::rs

Command/Data select (Q4).

Definition at line 547 of file HD44780.hh.


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