C++ Crashkurs
cmos.h File Reference
Controlling the complementary metal oxide semiconductor (CMOS). More...
#include "types.h"
Include dependency graph for cmos.h:
Namespaces | |
CMOS | |
CMOS. | |
Enumerations | |
enum | CMOS::Register { CMOS::REG_SECOND = 0x0, CMOS::REG_ALARM_SECOND = 0x1, CMOS::REG_MINUTE = 0x2, CMOS::REG_ALARM_MINUTE = 0x3, CMOS::REG_HOUR = 0x4, CMOS::REG_ALARM_HOUR = 0x5, CMOS::REG_WEEKDAY = 0x6, CMOS::REG_DAYOFMONTH = 0x7, CMOS::REG_MONTH = 0x8, CMOS::REG_YEAR = 0x9, CMOS::REG_STATUS_A = 0xa, CMOS::REG_STATUS_B = 0xb, CMOS::REG_STATUS_C = 0xc, CMOS::REG_STATUS_D = 0xd, REG_STATUS_DIAGNOSE = 0xe, REG_STATUS_SHUTDOWN = 0xf } |
Functions | |
uint8_t | CMOS::read (enum Register reg) |
void | CMOS::write (enum Register reg, uint8_t value) |
void | CMOS::NMI::enable () |
void | CMOS::NMI::disable () |
bool | CMOS::NMI::isEnabled () |
Detailed Description
Controlling the complementary metal oxide semiconductor (CMOS).