Changes between Version 20 and Version 21 of gpio


Ignore:
Timestamp:
05/13/2021 11:25:04 PM (4 years ago)
Author:
Tim Harvey
Comment:

add uboot details

Legend:

Unmodified
Added
Removed
Modified
  • gpio

    v20 v21  
    641641
    642642
     643[=#uboot]
     644= U-Boot GPIO
     645The U-Boot bootloader has basic support for processor GPIO's.
     646
     647Examples:
     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
    643670[=#led_class]
    644671= Linux LED class for GPIO (and PWM) controlled LEDs =