Charles.Forsyth20060303-partialeea662d19 years agoHistory
28 lines · 634 B · Text
RawDownload
.TH SWITCH 3 MPC8xx.SH NAMEswitch \- hardware option switch.SH SYNOPSYS.nf.B bind -a '#r' /dev .B /dev/switch.fi.SH DESCRIPTION.PPThe switch device serves a one-level directory,giving access to one read-only file,.BR switch .A read returns the value of the development board'soption switch (DS1), represented as a decimal numberfrom 0 to 15, representing four bits,each corresponding to one of the four toggles.Each toggle produces the value 0 when itis set `ON' and 1 when it is off.Toggle 1 corresponds to bit.B 1<<3in the number,toggle 2 corresponds to bit.BR 1<<2 ,and so on.SH SOURCE.B /os/mpc/devrtc.c

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t