Bertl2014 Bulme

Dependencies:   mbed

PCF8563/PCF8563_addr.h

Committer:
hemmer_matthias
Date:
2017-05-06
Revision:
0:84a4a0aa3ea6

File content as of revision 0:84a4a0aa3ea6:

// i2c addresses
const uint8_t PCF8563_ADR_WR = 0xA2;
const uint8_t PCF8563_ADR_RD = 0xA3;
// control and status
const uint8_t CONTROL1 = 0x00;
const uint8_t CONTROL2 = 0x01;
// time and date
const uint8_t SECONDS = 0x02;
const uint8_t MINUTES = 0x03;
const uint8_t HOURS = 0x04;
const uint8_t DAYS = 0x05;
const uint8_t WEEKDAYS = 0x06;
const uint8_t MONTHS = 0x07;
const uint8_t YEARS = 0x08;
// alarm
const uint8_t MINUTE_ALARM = 0x09;
const uint8_t HOUR_ALARM = 0x0A;
const uint8_t DAY_ALARM = 0x0B;
const uint8_t WEEKDAY_ALARM = 0x0C;
// clock and timer
const uint8_t CLOCKOUT_FREQ = 0x0D;
const uint8_t TIMER_CINTROL = 0x0E;