История
24 апреля 2019
Нет описания правки
+3
Нет описания правки
−1
Нет описания правки
Нет описания правки
−1
Нет описания правки
+1
Нет описания правки
+14
Нет описания правки
+14
Нет описания правки
+10
Нет описания правки
Нет описания правки
−3
Нет описания правки
Нет описания правки
+4
Нет описания правки
−16
Нет описания правки
+3
Нет описания правки
−7
Нет описания правки
−2
Нет описания правки
−3
Нет описания правки
+2
Нет описания правки
−5
Нет описания правки
+7
Нет описания правки
+12
Нет описания правки
+19
19 января 2016
Нет описания правки
−195
Нет описания правки
−4
Нет описания правки
−5
Новая страница: «We define signal 6 @ UEXT2 (SDA) as the source of the interrupt driver mrf24j40. According to the table List of GPIO, s…»
−137
Новая страница: «====Example 1====»
−5
Новая страница: «GPIO processor and peripherals are divided into banks (gpio chip). GPIO processor split into 3 banks for 32 GPIO: gpio0, gpio1, gpio2. Addressing GPIO in Device T…»
−109
Новая страница: «Pointing to the GPIO Device Tree you need to configure the GPIO to work in a mode of software SPI, I2C, GPIO to be used as the source of the interrupt, etc. For e…»
−253
Новая страница: «===GPIO and Device Tree===»
+1
Новая страница: «See [http://olimex.wordpress.com/2012/09/11/imx233-olinuxino-gpios-faster-and-faster/] , [https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/iMX233/gpio-mma…»
−2
Новая страница: «Driving GPIO can use the direct access to the processor registers, bypassing the Linux interface/dev/mem. At the same time, compared to the work via sysfs minimiz…»
−381
Новая страница: «<b>This method is strongly NOT recommended for use without sufficient reason. To work in C / C ++ is to use the files to work through sysfs, as described in the p…»
−160
Новая страница: «===Direct access by processor memory===»
−43
Новая страница: «see also [http://elinux.org/GPIO elinux.org]»
−8
Нет описания правки
+9
Новая страница: «Interrupts can be caught from userspace using the system call poll () and select () on file value. Example see [https://github.com/contactless/wiegand-linux-sysfs]»
−74
Новая страница: «Example: <pre> root@wirenboard:~# echo 3 > /sys/class/gpio/export # export GPIO No. 3 (TB10 in WB3.3) root@wirenboard:~# cat /sys/class/gpio/gpio3/edge # check…»
−233
Новая страница: «Setting the interrupt is done by writing the values in the file "edge". Values can be: * "none" - disable interrupt * "rising" - enable interrupt on falling edge…»
−224
Новая страница: «Via sysfs interface, you can request a change of state interrupt processor.»
−76
Новая страница: «====Sysfs interface and interrupt====»
−19
Новая страница: «<pre> echo out > /sys/class/gpio/gpioN/direction # set GPIO No. N to output echo 0 > /sys/class/gpio/gpioN/value # set logic 0 (low voltage) on the GPIO No. N ec…»
−146
Новая страница: «Record:»
−6
Новая страница: «<pre> echo in > /sys/class/gpio/gpioN/direction # Set GPIO a number N to input cat /sys/class/gpio/gpioN/value # returns 1 or 0 </pre>»
−30
Новая страница: «Reading:»
−5
Новая страница: «Reading and Setting the GPIO is made using the file <b>value</b>.»
−59
Новая страница: «<pre> echo in > /sys/class/gpio/gpioN/direction #set the GPIO to input echo out > /sys/class/gpio/gpioN/direction # set the GPIO to output </pre>»
−59
Новая страница: «Setting the direction of GPIO (input / output) is made by writing to the file <b> direction </ b>»
−56
Новая страница: «В директории <b>/sys/class/gpioN</b> теперь находятся файлы для работы с GPIO (где N - номер GPIO, как и бы…»
+116
Новая страница: «Exported gpio appear in the catalog /sys/class/gpio :»
−43