Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik
CMOS Namespace Reference

CMOS. More...

Enumerations

enum  Register {
  REG_SECOND = 0x0,
  REG_ALARM_SECOND = 0x1,
  REG_MINUTE = 0x2,
  REG_ALARM_MINUTE = 0x3,
  REG_HOUR = 0x4,
  REG_ALARM_HOUR = 0x5,
  REG_WEEKDAY = 0x6,
  REG_DAYOFMONTH = 0x7,
  REG_MONTH = 0x8,
  REG_YEAR = 0x9,
  REG_STATUS_A = 0xa,
  REG_STATUS_B = 0xb,
  REG_STATUS_C = 0xc,
  REG_STATUS_D = 0xd,
  REG_STATUS_DIAGNOSE = 0xe,
  REG_STATUS_SHUTDOWN = 0xf
}
 

Functions

uint8_t read (enum Register reg)
 
void write (enum Register reg, uint8_t value)
 

Detailed Description

CMOS.

Enumeration Type Documentation

◆ Register

Enumerator
REG_SECOND 

RTC.

REG_ALARM_SECOND 

RTC.

REG_MINUTE 

RTC.

REG_ALARM_MINUTE 

RTC.

REG_HOUR 

RTC.

REG_ALARM_HOUR 

RTC.

REG_WEEKDAY 

RTC.

REG_DAYOFMONTH 

RTC.

REG_MONTH 

RTC.

REG_YEAR 

RTC.

REG_STATUS_A 

RTC.

REG_STATUS_B 

RTC.

REG_STATUS_C 

RTC.

REG_STATUS_D 

RTC.