Changeset 526f895 in rtems for c/src/lib/libbsp/arm/lm3s69xx


Ignore:
Timestamp:
Aug 14, 2013, 1:35:58 PM (7 years ago)
Author:
Karel Gardas <karel.gardas@…>
Branches:
4.11, 5, master
Children:
2a2f559
Parents:
d473dc0
git-author:
Karel Gardas <karel.gardas@…> (08/14/13 13:35:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/14/13 14:25:55)
Message:

bsp/lm3s69xx: add macros for UART CTS/RTS pin configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lm3s69xx/include/io.h

    rd473dc0 r526f895  
    112112  }
    113113
     114#define LM3S69XX_PIN_UART_RTS(port, idx) \
     115  { \
     116    .pin_first = LM3S69XX_GPIO_PIN(port, idx), \
     117    .pin_last = LM3S69XX_GPIO_PIN(port, idx), \
     118    .digital = LM3S69XX_GPIO_DIGITAL_ENABLE, \
     119    .alternate = LM3S69XX_GPIO_AF_ENABLE, \
     120    .analog = LM3S69XX_GPIO_ANALOG_DISABLE, \
     121    .dir = LM3S69XX_GPIO_DIRECTION_OUTPUT, \
     122    .otype = LM3S69XX_GPIO_OTYPE_PUSH_PULL, \
     123    .drive = LM3S69XX_GPIO_DRIVE_2MA, \
     124    .pull = LM3S69XX_GPIO_NO_PULL, \
     125    .slr = LM3S69XX_GPIO_NO_SLEW_RATE_CONTROL \
     126  }
     127
     128#define LM3S69XX_PIN_UART_CTS(port, idx) \
     129  { \
     130    .pin_first = LM3S69XX_GPIO_PIN(port, idx), \
     131    .pin_last = LM3S69XX_GPIO_PIN(port, idx), \
     132    .digital = LM3S69XX_GPIO_DIGITAL_ENABLE, \
     133    .alternate = LM3S69XX_GPIO_AF_ENABLE, \
     134    .analog = LM3S69XX_GPIO_ANALOG_DISABLE, \
     135    .dir = LM3S69XX_GPIO_DIRECTION_INPUT, \
     136    .otype = LM3S69XX_GPIO_OTYPE_PUSH_PULL, \
     137    .drive = LM3S69XX_GPIO_DRIVE_2MA, \
     138    .pull = LM3S69XX_GPIO_PULL_UP, \
     139    .slr = LM3S69XX_GPIO_NO_SLEW_RATE_CONTROL \
     140  }
     141
    114142#define LM3S69XX_PIN_LED(port, idx) \
    115143  { \
Note: See TracChangeset for help on using the changeset viewer.