Работа с GPIO/en: различия между версиями

Новая страница: «We define signal 6 @ UEXT2 (SDA) as the source of the interrupt driver mrf24j40. According to the table List of GPIO, s…»
(Новая страница: «====Example 1====»)
(Новая страница: «We define signal 6 @ UEXT2 (SDA) as the source of the interrupt driver mrf24j40. According to the table List of GPIO, s…»)
Строка 135: Строка 135:
====Example 1====
====Example 1====


Определим сигнал 6@UEXT2 (SDA) в качестве источника прерываний для драйвера mrf24j40. Согласно таблице [[Special:MyLanguage/Список GPIO|Список GPIO]], сигнал соответствует GPIO 53 процессора. 53 принадлежит второму банку gpio (от 32 до 63). Номер GPIO внутри банка 53-32=21 :
We define signal 6 @ UEXT2 (SDA) as the source of the interrupt driver mrf24j40. According to the table [[Special: MyLanguage /Список GPIO|List of GPIO]], signal corresponds to 53 GPIO of processor. 53 belongs to the second bank gpio (32 to 63). GPIO number inside the bank 53-32 = 21:


<pre>
<pre>