Changes between Version 3 and Version 4 of ventana/bootloader


Ignore:
Timestamp:
04/27/2018 05:05:41 PM (17 months ago)
Author:
Tim Harvey
Comment:

added reference to IMX6 RM for GPIO section

Legend:

Unmodified
Added
Removed
Modified
  • ventana/bootloader

    v3 v4  
    703703To configure a dio as a gpio, set its {{{mode=gpio}}}, and to configure it as a pwm set {{{mode=pwm}}}.
    704704
    705 The optional ''padctrl'' argument is a hexidecimal number with leading 0x with bit descriptions below (this is equivalent to the IMX6 PAD_CTL register definition):
     705The optional ''padctrl'' argument is a hexadecimal number with leading 0x with bit descriptions below (this is equivalent to the IMX6 PAD_CTL register definition):
    706706||= Bits =||= Description =||
    707707|| 31-17[[BR]]reserved   || This read-only field is reserved and always has the value 0 ||
     
    716716|| 2–1[[BR]]Reserved || This read-only field is reserved and always has the value 0 ||
    717717|| 0[[BR]]SRE || Slew Rate:[[BR]]- 0 SLOW: Slow Slew Rate[[BR]]- 1 FAST: Fast Slew Rate ||
     718 * for details consult the [http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf IMX6DQRM] and [http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SDLRM.pdf IMX6SDLRM] depending on the CPU you are using. The GPIO blocks are described in section 28.4 which provides example configuration for various commonly used GPIO modes
    718719
    719720If unspecified the padctrl register is set to 0x1B0B9: