ds2482-100: 单独的-频道 1-线 主控
13 的 21
1-线 读 字节
command 代号
96h
command 参数
毫无
描述
发生 第八 读-数据 时间 slots 在 这 1-线 线条 和 stores 结果
在 这 读 数据 寄存器.
典型 使用
至 读 数据 从 这 1-wire 线条; 相等的 至 executing 第八 1-wire
单独的 位 commands 和 v = 1 (写-1 时间 slot), 但是 faster 预定的 至 较少
i²c 交通量.
Restriction
1-wire activity 必须 有 结束 在之前 这 ds2482 能 处理 这个
command.
错误 回馈
command 代号 是 不 acknowledged 如果 1wb = 1 在 这 时间 这 command
代号 是 received 和 这 command 是 ignored.
command 持续时间
8 × t
SLOT
+ 最大 262.5ns, counted 从 这 下落 scl 边缘 的 这
command 代号 acknowledge 位.
1-线 activity
begins 最大 262.5ns 之后 这 下落 scl 边缘 的 这 command
代号 acknowledge 位.
读 pointer 位置
状态 寄存器 (为 busy polling)
便条
: 至 读 这 数据 字节 received 从 这 1-wire 线条, 公布 这 设置
读 pointer command 和 选择 这 读 数据 寄存器. 然后 进入
这 ds2482 在 读 模式.
状态 位 影响
1Wb (设置 至 1 为 8 × t
SLOT
)
配置 位 影响
1Ws, apu 应用
1-线 triplet
command 代号
78h
command 参数
方向 字节
描述
发生 三 时间 slots, 二 读 时间 slots 和 一个 写 时间 slot 在
这 1-线 线条. 这 类型 的 写 时间 slot 取决于 在 这 结果 的 这
读 时间 slots 和 这 方向 字节.
这 方向 字节 确定 这 类型 的 写 时间 slot 如果 两个都 读 时间
slots 是 0 (一个 典型 情况). 在 这个 情况 这 ds2482 发生 一个 写 1-
时间 slot 如果 v = 1 和 一个 写-0 时间 slot 如果 v = 0.
如果 这 读 时间 slots 是 0 和 1, 那里 跟随 一个 写-0 时间 slot.
如果 这 读 时间 slots 是 1 和 0, 那里 跟随 一个 写-1 时间 slot.
如果 这 读 时间 slots 是 两个都 1 (错误 情况), 这 subsequent 写 时间
slot 是 一个 写 1.
典型 使用
至 执行 一个 1-线 搜索 只读存储器 sequence; 一个 全部 sequence 需要 这个
command 至 是 executed 64 时间 至 identify 和 地址 一个 设备.
Restriction
1-wire activity 必须 有 结束 在之前 这 ds2482 能 处理 这个
command.
错误 回馈
command 代号 和 方向 字节 是 不 acknowledged 如果 1wb = 1 在 这
时间 这 command 代号 是 received 和 这 command 将 是 ignored.
command 持续时间
3 × t
SLOT
+ 最大 262.5ns, counted 从 这 下落 scl 边缘 的 这
第一 位 (ms 位) 的 这 方向 字节.
1-线 activity
begins 最大 262.5ns 之后 这 下落 scl 边缘 的 这 ms 位 的 这
方向 字节.
读 pointer 位置
状态 寄存器 (为 busy polling)
状态 位 影响
1Wb (设置 至 1 为 3 × t
SLOT
)
sbr 是 updated 在 这 第一 t
MSR
tsb 和 dir 是 updated 在 这 第二 t
MSR
(i. e., 在 t
SLOT
+ t
MSR
)
配置 位 影响
1Ws, apu 应用
位 allocation 在 这 方向 字节
位 7 位 6 位 5 位 4 位 3 位 2 位 1 位 0
v xxx x x x x x = don’t 小心