ZyXEL Communications Omni TA128 User Manual
Page 144

132
O
O
note: The values used in the example below differ from the actual
values in the S-register and are used for demonstration purposes
only.
Read the value from S38 using ATS38?
Convert it to binary, using the following weight table:
Bit
Binary value
Decimal value Hexadecimal value
0
00000001
1
$01
1
00000010
2
$02
2
00000100
4
$04
3
00001000
8
$08
4
00010000
16
$10
5
00100000
32
$20
6
01000000
64
$40
7
10000000
128
$80
To set bit 3 to 1 (binary), do a logic OR operation with the value.
Operation
Example-1
Example-2
Binary
Dec. Hex Binary
Dec.
Hex.
10001000
136
$88
01000000
64
$40
OR
00001000
8
$08
00001000
8
$08
10001000
136
$88
01001000
72
$48
To set bit 3 to 0 (binary), you must invert the value using a logic
NOT operation and then do an logic AND operation.
NOT
00001000 8
$08
00001000 8
$08
11110111 247
$F7 11110111 247
$F7
AND
10001000 136
$88
01000000 64
$40
10000000 128
$80
01000000 64
$40
Finally, using the result decimal value, issue an ATS38=n to set
the register.
- ISDN Terminal Adapter Omni.Net Lite (84 pages)
- ZYAIR G-360 V2 (2 pages)
- DMA-1000 Series (192 pages)
- PLA-450 (2 pages)
- EXT-108 (2 pages)
- P-2602HWLNI (496 pages)
- ZyXEL ZyWALL 2WG (730 pages)
- P841C (41 pages)
- Network Device P-2302 (359 pages)
- P-870M-I (2 pages)
- P-661HW Series (383 pages)
- Prestige 310 (161 pages)
- 802.11g Wireless Access Point ZyXEL G-560 (144 pages)
- P-2602HW (2 pages)
- Prestige 2602R Series (450 pages)
- 5 Series (835 pages)
- Prestige 623ME-T (253 pages)
- omni.net LCD series (53 pages)
- ZyXEL ZyAIR B-1000 (231 pages)
- P-2302HWUDL-P1 Series (368 pages)
- ZyXEL ZyWALL 5 (667 pages)
- Prestige 645R (180 pages)
- ZYWALL IDP 10 (42 pages)
- 802.11g Wireless Firewall Router P-320W (215 pages)
- PRESTIGE 660R-6XC (6 pages)
- 56K Plus II (88 pages)
- P-2802HW-i (2 pages)
- ZYAIR AG-200 (2 pages)
- POWERLINE PL-100 (33 pages)
- HomePlug AV DMA-1100P (198 pages)
- Access Router P-660R-T (9 pages)
- omni.net LCD+M (186 pages)
- G-162 (85 pages)
- PL-100 (33 pages)
- ZyXEL ZyAIR A-6000 (46 pages)
- ZyXEL ZyAIR AG-225H (14 pages)
- 2304R-P1 (124 pages)
- XTREMEMIMO M-302 (2 pages)
- nbg334s (2 pages)
- P-793H 601156 (1 page)
- Ethernet Extension Card EEC1020 (8 pages)
- P-871M (26 pages)
- Prestige 128L (114 pages)
- P-2812HNU-51c (2 pages)
- ZyWALL SSL 10 (64 pages)