Changes between Version 3 and Version 4 of ventana/bootloader
- Timestamp:
- 04/27/2018 05:05:41 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ventana/bootloader
v3 v4 703 703 To configure a dio as a gpio, set its {{{mode=gpio}}}, and to configure it as a pwm set {{{mode=pwm}}}. 704 704 705 The optional ''padctrl'' argument is a hex idecimal number with leading 0x with bit descriptions below (this is equivalent to the IMX6 PAD_CTL register definition):705 The optional ''padctrl'' argument is a hexadecimal number with leading 0x with bit descriptions below (this is equivalent to the IMX6 PAD_CTL register definition): 706 706 ||= Bits =||= Description =|| 707 707 || 31-17[[BR]]reserved || This read-only field is reserved and always has the value 0 || … … 716 716 || 2–1[[BR]]Reserved || This read-only field is reserved and always has the value 0 || 717 717 || 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 718 719 719 720 If unspecified the padctrl register is set to 0x1B0B9: