Max7456
Class representing a max7456
 All Classes Files Functions Variables Typedefs Enumerator Macros Pages
Public Attributes | List of all members
REG_VM1 Union Reference

Represents a Video Mode 1 Register value. More...

#include <max7456Registers.h>

Public Attributes

unsigned char whole
 The whole register value.
 
struct {
   unsigned char   blinkingDutyCycle: 2
 Blinking Duty Cycle (On:Off)
 
   unsigned char   blinkingTime: 2
 Blinking Time (BT)
 
   unsigned char   backgroundModeBrightness: 3
 Background Mode Brightness.
 
   unsigned char   backgroundMode: 1
 Background Mode.
 
bits
 access to individual bits
 

Detailed Description

Represents a Video Mode 1 Register value.

Member Data Documentation

unsigned char REG_VM1::backgroundMode

Background Mode.

  • 0 = DMM[5] & DMM[7] sets the state of each character background
  • 1 = Sets all displayed background pixel to gray
unsigned char REG_VM1::backgroundModeBrightness

Background Mode Brightness.

  • b000 (0) = 0%
  • b001 (1) = 7%
  • b010 (2) = 14%
  • b011 (3) = 21%
  • b100 (4) = 28%
  • b101 (5) = 35%
  • b110 (6) = 43%
  • b111 (7) = 49%
REG_VM1::bits

access to individual bits

unsigned char REG_VM1::blinkingDutyCycle

Blinking Duty Cycle (On:Off)

  • b00 (0) = BT:BT
  • b01 (1) = BT:(2*BT)
  • b10 (2) = BT:(3*BT)
  • b11 (3) = (3*BT):BT
unsigned char REG_VM1::blinkingTime

Blinking Time (BT)

  • b00 (0) = 2 fields (NTSC = 33ms ; PAL = 40ms)
  • b01 (1) = 4 fields (NTSC = 67ms ; PAL = 80ms)
  • b10 (2) = 6 fields (NTSC = 100ms ; PAL = 120ms)
  • b11 (3) = 8 fields (NTSC = 133ms ; PAL = 160ms)
unsigned char REG_VM1::whole

The whole register value.


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