NXP Semiconductors |
|
|
|
|
| UM10301 | |
|
|
|
|
| User Manual PCF85x3, PCA8565 and PCF2123, PCA2125 | ||
|
|
|
|
|
| ||
| Binary (BCD) | HEX | Register |
| Comments | ||
|
|
|
|
| Address |
|
|
|
|
|
|
|
|
|
|
0 0 0 0 | 1 0 0 1 | 09 |
|
| word address 9 for minute alarm | ||
|
|
|
|
|
|
| |
0 0 0 1 | 0 1 0 1 | 15 | 09 |
| minute alarm enabled and set to 15 minutes | ||
|
|
|
|
|
|
| |
1 0 0 0 | 0 0 0 0 | 80 | 0A |
| hour alarm is disabled | ||
|
|
|
|
|
|
| |
1 0 0 0 | 0 0 0 0 | 80 | 0B |
| day alarm is disabled | ||
|
|
|
|
|
|
| |
1 0 0 0 | 0 0 0 0 | 80 | 0C |
| weekday alarm is disabled | ||
|
|
|
|
|
|
| generate I2C start condition (repeated start) |
|
|
|
|
|
|
| |
|
|
|
|
|
| I2C slave address, write | |
1 0 1 0 | 0 0 1 0 | A2 |
|
| |||
|
|
|
|
|
|
| |
0 0 0 0 | 0 0 0 1 | 01 |
|
| word address 1, next bytes are data | ||
|
|
|
|
|
|
| |
0 0 0 0 | 0 0 1 0 | 02 | 01 |
| Control/status 2, clear alarm flag and enable alarm | ||
|
|
|
|
|
|
| interrupt |
generate I2C stop condition
Remark: The interrupt is only set at the counter transition from 14 to 15. This is indicated by the dashed line in Fig 11. The interrupt has to be reset by software.
Fig 11. Alarm function
UM10301_1 |
| © NXP B.V. 2008. All rights reserved. |
User manual | Rev. 01 — 23 December 2008 | 28 of 52 |