summaryrefslogtreecommitdiffstats
path: root/sys/dev/led/led.h
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to specify an initial state for the LED.phk2007-04-231-0/+1
| | | | | Requested by: Henrik Brix Andersen <henrik@brixandersen.dk> PR: 112008
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-2/+2
| | | | Bump __FreeBSD_version accordingly.
* - Remove the __FBSDID and put the $FreeBSD$ tag in the comment above,mux2004-05-101-6/+5
| | | | | so that including this file more than once works. - Fix some style bugs while I'm here.
* Fix prototypophk2003-11-031-1/+1
|
* Get word spacing right in morse mode.phk2003-11-031-1/+1
| | | | Fix a prototype.
* Add a generic LED driver for flashing lamps.phk2003-11-031-0/+21
The hardware driver decides the name under /dev/led and provides the function to turn the lamp on/off. All leds are serviced by a single timeout which runs at a basic rate of hz/10. The LED is controlled by ascii strings as follows. 0 Turn off. 1 Turn on. f Flash: _- f2 Flash: __-- f3 Flash: ___--- f4...f9 etc. d%d Digits. "d12": -__________-_-______________________________ s%s String, roll your own: 'a-j' gives on for (1...10)/10 sec. 'A-J' gives on for (1...10)/10 sec. 'sAaAbBa': _-_--__- m%s Morse '.' dot '-' dash ' ' letter space '\n' word space My mdoc skills do not reach to express that.
OpenPOWER on IntegriCloud