gpioled.4 (694d36403fdef6b7d15dc50aa8a89201f8820f97) | gpioled.4 (999d5a34e7446cabd80c711fdcdfa0e836e4ec56) |
---|---|
1.\" Copyright (c) 2013, Luiz Otavio O Souza <loos@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 60 unchanged lines hidden (view full) --- 69.Xr led 4 . 70.It Va hint.gpioled.%d.pins 71Which pin on the GPIO interface to map to this instance. 72Please note that this mask should only ever have one bit set 73(any other bits - i.e., pins - will be ignored). 74.It Va hint.gpioled.%d.invert 75If set to 1, the pin will be set to 0 to light the LED, and 1 to clear it. 76.It Va hint.gpioled.%d.state | 1.\" Copyright (c) 2013, Luiz Otavio O Souza <loos@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 60 unchanged lines hidden (view full) --- 69.Xr led 4 . 70.It Va hint.gpioled.%d.pins 71Which pin on the GPIO interface to map to this instance. 72Please note that this mask should only ever have one bit set 73(any other bits - i.e., pins - will be ignored). 74.It Va hint.gpioled.%d.invert 75If set to 1, the pin will be set to 0 to light the LED, and 1 to clear it. 76.It Va hint.gpioled.%d.state |
77The initial state of the LED when driver takes control over. | 77The initial state of the LED when the driver takes control over it. |
78If set to 1 or 0, the LED will be on or off correspondingly. | 78If set to 1 or 0, the LED will be on or off correspondingly. |
79If set to -1 the LED will be kept in its original state. | 79If set to -1, the LED will be kept in its original state. |
80.El 81.Pp 82On a 83.Xr FDT 4 84based system, like 85.Li ARM , 86the DTS part for a 87.Nm gpioled --- 75 unchanged lines hidden --- | 80.El 81.Pp 82On a 83.Xr FDT 4 84based system, like 85.Li ARM , 86the DTS part for a 87.Nm gpioled --- 75 unchanged lines hidden --- |