rtc – 4553ac
页 - 13 mq - 342 - 01
8.3.5. 样本 运作 流动 charts
(1) 时间/calendar initialize 例子
(例子 为 initialization 通过 电源-在-clear 当 电池 是 changed 等.)
YES
非
busy = 0?
终止
30ADJ
←
1
increment 1-分钟 数字 和
10-分钟 数字
increment 1-小时 数字
设置 24/12-小时 format
increment 日 的 这
week 数字 <?>
increment 1-日 数字 和
10-日 数字
increment 1-month 数字 和
10-month 数字
increment 1-年 数字 和
10-年 数字
SYSR
←
1
开始
•
释放 ponc 位 = "1" (1
→
0)
•
当 busy = "1", 一个 carry 运作 是 在 progress
和 这 设置 应当 不 是 carried 输出. 这
下列的 处理 步伐 必须 是 完成 在里面
996 ms 之后 sysr
←
"1" 或者 之后 这 busy 位 向下
转变 是 发现. 如果 这 处理 takes 变长,
这 busy 位 必须 是 审查 又一次 为 持续
处理.
•
它 是 明智 至 开始 这 设置 从 这 年 数字,
至 阻止 设置 nonexistent 数据.
•
当 这 1-数字 的 这 年, month, 日, hour,
分钟, 或者 第二 是 设置, carry 至 这 10-数字 能
出现.
•
它 是 明智 至 设置 这个 在之前 设置 这 小时 数字,
至 阻止 设置 nonexistent 数据.
•
设置 这 10-小时 数字 用 incrementing 这 1-小时
数字.
(2) 时间/calendar modify 例子 (8:00
→
12:00)
busy = 0?
非
YES
终止
increment 1-小时 数字
(4 时间)
开始
ms0=0, ms1=0
当 busy = "1", 一个 carry 运作 是 在 progress 和
这 设置 应当 不 是 carried 输出.
4 时间 (8
→
9
→
10
→
11
→
12)
↑
10-小时 数字 是 automatically carried.
这 处理 应当 是 完成 在里面 3.8 ms 之后
detecting busy = "0".