![NXP Semiconductors UM10301 PCA8565 Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/nxp-semiconductors/um10301-pca8565/um10301-pca8565_user-manual_1721664028.webp)
NXP Semiconductors
UM10301
User Manual for PCF85x3, PCF85x63, PCA8565, PCF2123, and
PCA21125
UM10301
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 23 July 2015
28 of 54
Binary (BCD)
HEX
Register
Address
Comments
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 I
2
C start condition (repeated start)
1 0 1 0 0 0 1 0
A2
I
2
C slave address, write
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 I
2
C 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