File: DS2413.man

package info (click to toggle)
owfs 3.1p5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,004 kB
  • ctags: 10,355
  • sloc: ansic: 63,596; sh: 4,927; tcl: 1,962; makefile: 1,308; python: 1,114; php: 600; perl: 401; cpp: 105
file content (99 lines) | stat: -rw-r--r-- 2,355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
'\"
'\" Copyright (c) 2003-2004 Paul H Alfille, MD
'\" (paul.alfille@gmail.com)
'\"
'\" Device manual page for the OWFS -- 1-wire filesystem package
'\" Based on Dallas Semiconductor, Inc's datasheets, and trial and error.
'\"
'\" Free for all use. No warranty. None. Use at your own risk.
'\" $Id$
'\"
.TH DS2413 3  2005 "OWFS Manpage" "One-Wire File System"
.SH NAME
.B DS2413
\- Dual Channel Addressable Switch
.SH SYNOPSIS
Dual Switch
.PP
.B 3A
[.]XXXXXXXXXXXX[XX][/[
.B PIO.[A|B|ALL|BYTE]
|
.B sensed.[A|B|ALL|BYTE]
|
.so man3/standard_mini.3so
]]
.SH FAMILY CODE
.PP
.I 3A
.SH SPECIAL PROPERTIES
.SS PIO.A PIO.B PIO.ALL PIO.BYTE
.I read-write, yes-no
.br
State of the open-drain output (
.I PIO
) pin. 0 = non-conducting (off), 1 = conducting (on).
.br
Writing zero will turn off the switch, non-zero will turn on the switch. Reading the
.I PIO
state will return the switch setting. To determine the actual logic level at the switch, refer to the
.I sensed
property.
.br
.I ALL
references both channels simultaneously, comma separated.
.br
.I BYTE
references both channels simultaneously as a single byte, with channel A in bit 0.
.SS sensed.A sensed.B sensed.ALL sensed.BYTE
.I read-only, yes-no
.br
Logic level at the
.I PIO
pin. 0 = ground. 1 = high (~2.4V - 5V ). Really makes sense only if the
.I PIO
state is set to zero (off), else will read zero.
.br
.I ALL
references both channels simultaneously, comma separated.
.br
.I BYTE
references both channels simultaneously as a single byte, with channel A in bit 0.
.SH STANDARD PROPERTIES
.so man3/standard.3so
.SH ALARMS
Use the
.I set_alarm
property to set the alarm triggering criteria.
.SH DESCRIPTION
.so man3/description.3so
.SS DS2413
The
.B DS2413 (3)
allows control of other devices, like LEDs and relays. It differs from the
.I DS2405
with a cleaner interface and two channels
The
.I DS2413
also has two channels like the
.I DS2406
and
.I DS2407
but has no memory, and no alarm.
There is also varying types of switch and sensing in the
.I DS2408, DS2409, LCD, DS276x, DS2450.
.br
Unique among the switches, the
.I DS2413
can switch higher voltages, up to 28V.
.SH ADDRESSING
.so man3/addressing.3so
.SH DATASHEET
.br
http://datasheets.maxim-ic.com/en/ds/DS2413.pdf
.SH SEE ALSO
.so man3/seealso.3so
.SH AVAILABILITY
http://www.owfs.org
.SH AUTHOR
Paul Alfille (paul.alfille@gmail.com)