Arduino-LCD
LCD library for Arduino
LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t Union Reference

#include <SR3W.h>

Collaboration diagram for LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::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

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
union LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t

Shift register port bit fields; little endian.

Definition at line 159 of file SR3W.h.

Constructor & Destructor Documentation

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::port_t ( )
inline

Definition at line 169 of file SR3W.h.

Member Function Documentation

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::operator uint8_t ( )
inline

Definition at line 168 of file SR3W.h.

Member Data Documentation

struct { ... }
template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
uint8_t LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::app1

Application bit#1 (Q7).

Definition at line 166 of file SR3W.h.

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
uint8_t LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::app2

Application bit#2 (Q6).

Definition at line 165 of file SR3W.h.

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
uint8_t LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::as_uint8

Unsigned byte access.

Definition at line 160 of file SR3W.h.

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
uint8_t LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::bt

Back-light control (Q5).

Definition at line 164 of file SR3W.h.

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
uint8_t LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::data

Data port (Q0..Q3).

Definition at line 162 of file SR3W.h.

template<BOARD::pin_t SDA_PIN, BOARD::pin_t SCL_PIN, BOARD::pin_t EN_PIN>
uint8_t LCD::SR3W< SDA_PIN, SCL_PIN, EN_PIN >::port_t::rs

Command/Data select (Q4).

Definition at line 163 of file SR3W.h.


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