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

#include <MJKDZ_LCD_Module.hh>

Collaboration diagram for MJKDZ_LCD_Module::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 (P0..P3). More...
 
   uint8_t   en:1
 Enable pulse (P4). More...
 
   uint8_t   rw:1
 Read/Write (P5). More...
 
   uint8_t   rs:1
 Command/Data select (P6). More...
 
   uint8_t   bt:1
 Back-light (P7). More...
 
}; 
 

Detailed Description

Expander port bit fields; little endian

Definition at line 105 of file MJKDZ_LCD_Module.hh.

Constructor & Destructor Documentation

MJKDZ_LCD_Module::port_t::port_t ( )
inline

Definition at line 118 of file MJKDZ_LCD_Module.hh.

Member Function Documentation

MJKDZ_LCD_Module::port_t::operator uint8_t ( )
inline

Definition at line 114 of file MJKDZ_LCD_Module.hh.

Member Data Documentation

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

Unsigned byte access.

Definition at line 106 of file MJKDZ_LCD_Module.hh.

uint8_t MJKDZ_LCD_Module::port_t::bt

Back-light (P7).

Definition at line 112 of file MJKDZ_LCD_Module.hh.

uint8_t MJKDZ_LCD_Module::port_t::data

Data port (P0..P3).

Definition at line 108 of file MJKDZ_LCD_Module.hh.

uint8_t MJKDZ_LCD_Module::port_t::en

Enable pulse (P4).

Definition at line 109 of file MJKDZ_LCD_Module.hh.

uint8_t MJKDZ_LCD_Module::port_t::rs

Command/Data select (P6).

Definition at line 111 of file MJKDZ_LCD_Module.hh.

uint8_t MJKDZ_LCD_Module::port_t::rw

Read/Write (P5).

Definition at line 110 of file MJKDZ_LCD_Module.hh.


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