Changes between Version 20 and Version 21 of gpio
- Timestamp:
- 05/13/2021 11:25:04 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
gpio
v20 v21 641 641 642 642 643 [=#uboot] 644 = U-Boot GPIO 645 The U-Boot bootloader has basic support for processor GPIO's. 646 647 Examples: 648 * output logic high: 649 {{{#!bash 650 > gpio set 123 651 }}} 652 * output logic low: 653 {{{#!bash 654 > gpio clr 123 655 }}} 656 * show gpio's claimed by drivers: 657 {{{#!bash 658 > gpio status 659 }}} 660 * show gpio input: 661 {{{#!bash 662 > gpio input 123 663 }}} 664 * toggle gpio: 665 {{{#!bash 666 > gpio toggle 123 667 }}} 668 669 643 670 [=#led_class] 644 671 = Linux LED class for GPIO (and PWM) controlled LEDs =