USART codegen
This commit is contained in:
2
embassy-stm32/.pep8
Normal file
2
embassy-stm32/.pep8
Normal file
@ -0,0 +1,2 @@
|
||||
[pep8]
|
||||
max_line_length = 255
|
@ -11,6 +11,7 @@ abspath = os.path.abspath(__file__)
|
||||
dname = os.path.dirname(abspath)
|
||||
os.chdir(dname)
|
||||
|
||||
# ======= load chips
|
||||
chips = {}
|
||||
for f in sorted(glob('stm32-data/data/chips/*.yaml')):
|
||||
if 'STM32F4' not in f:
|
||||
@ -21,6 +22,14 @@ for f in sorted(glob('stm32-data/data/chips/*.yaml')):
|
||||
print(chip['name'])
|
||||
chips[chip['name']] = chip
|
||||
|
||||
# ======= load GPIO AF
|
||||
gpio_afs = {}
|
||||
for f in sorted(glob('stm32-data/data/gpio_af/*.yaml')):
|
||||
name = f.split('/')[-1].split('.')[0]
|
||||
with open(f, 'r') as f:
|
||||
af = yaml.load(f, Loader=yaml.SafeLoader)
|
||||
gpio_afs[name] = af
|
||||
|
||||
# ========= Update chip/mod.rs
|
||||
|
||||
with open('src/chip/mod.rs', 'w') as f:
|
||||
@ -49,6 +58,7 @@ with open('Cargo.toml', 'w') as f:
|
||||
|
||||
for chip in chips.values():
|
||||
print(f'generating {chip["name"]}')
|
||||
af = gpio_afs[chip['gpio_af']]
|
||||
peripherals = []
|
||||
impls = []
|
||||
pins = set()
|
||||
@ -71,13 +81,30 @@ for chip in chips.values():
|
||||
pin = f'P{port}{pin_num}'
|
||||
pins.add(pin)
|
||||
peripherals.append(pin)
|
||||
impls.append(
|
||||
f'impl_gpio_pin!({pin}, {port_num}, {pin_num}, EXTI{pin_num});')
|
||||
impls.append(f'impl_gpio_pin!({pin}, {port_num}, {pin_num}, EXTI{pin_num});')
|
||||
continue
|
||||
|
||||
# TODO maybe we should only autogenerate the known ones...??
|
||||
peripherals.append(name)
|
||||
|
||||
if 'block' not in peri:
|
||||
continue
|
||||
|
||||
if peri['block'] == 'usart_v1/USART':
|
||||
impls.append(f'impl_usart!({name}, 0x{peri["address"]:x});')
|
||||
for pin, funcs in af.items():
|
||||
if pin in pins:
|
||||
if func := funcs.get(f'{name}_RX'):
|
||||
impls.append(f'impl_usart_pin!({name}, RxPin, {pin}, {func});')
|
||||
if func := funcs.get(f'{name}_TX'):
|
||||
impls.append(f'impl_usart_pin!({name}, TxPin, {pin}, {func});')
|
||||
if func := funcs.get(f'{name}_CTS'):
|
||||
impls.append(f'impl_usart_pin!({name}, CtsPin, {pin}, {func});')
|
||||
if func := funcs.get(f'{name}_RTS'):
|
||||
impls.append(f'impl_usart_pin!({name}, RtsPin, {pin}, {func});')
|
||||
if func := funcs.get(f'{name}_CK'):
|
||||
impls.append(f'impl_usart_pin!({name}, CkPin, {pin}, {func});')
|
||||
|
||||
with open(f'src/chip/{chip["name"]}.rs', 'w') as f:
|
||||
# TODO uart etc
|
||||
# TODO import the right GPIO AF map mod
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,28 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -74,3 +74,25 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -74,3 +74,25 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -74,3 +74,25 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -74,3 +74,25 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -74,3 +74,19 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
|
@ -74,3 +74,19 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
|
@ -108,3 +108,30 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,30 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,30 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,30 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,30 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -108,3 +108,30 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -75,3 +75,35 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -75,3 +75,35 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -92,3 +92,45 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -92,3 +92,45 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,37 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,37 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -144,3 +144,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -144,3 +144,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -144,3 +144,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -144,3 +144,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -160,3 +160,47 @@ impl_gpio_pin!(PI12, 8, 12, EXTI12);
|
||||
impl_gpio_pin!(PI13, 8, 13, EXTI13);
|
||||
impl_gpio_pin!(PI14, 8, 14, EXTI14);
|
||||
impl_gpio_pin!(PI15, 8, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,37 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -143,3 +143,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -144,3 +144,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -144,3 +144,52 @@ impl_gpio_pin!(PH12, 7, 12, EXTI12);
|
||||
impl_gpio_pin!(PH13, 7, 13, EXTI13);
|
||||
impl_gpio_pin!(PH14, 7, 14, EXTI14);
|
||||
impl_gpio_pin!(PH15, 7, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA15, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB3, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 8);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 8);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC5, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PA11, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PA12, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
@ -194,3 +194,47 @@ impl_gpio_pin!(PK12, 10, 12, EXTI12);
|
||||
impl_gpio_pin!(PK13, 10, 13, EXTI13);
|
||||
impl_gpio_pin!(PK14, 10, 14, EXTI14);
|
||||
impl_gpio_pin!(PK15, 10, 15, EXTI15);
|
||||
impl_usart!(USART1, 0x40011000);
|
||||
impl_usart_pin!(USART1, RxPin, PA10, 7);
|
||||
impl_usart_pin!(USART1, CtsPin, PA11, 7);
|
||||
impl_usart_pin!(USART1, RtsPin, PA12, 7);
|
||||
impl_usart_pin!(USART1, CkPin, PA8, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PA9, 7);
|
||||
impl_usart_pin!(USART1, TxPin, PB6, 7);
|
||||
impl_usart_pin!(USART1, RxPin, PB7, 7);
|
||||
impl_usart!(USART2, 0x40004400);
|
||||
impl_usart_pin!(USART2, CtsPin, PA0, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PA1, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PA2, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PA3, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PA4, 7);
|
||||
impl_usart_pin!(USART2, CtsPin, PD3, 7);
|
||||
impl_usart_pin!(USART2, RtsPin, PD4, 7);
|
||||
impl_usart_pin!(USART2, TxPin, PD5, 7);
|
||||
impl_usart_pin!(USART2, RxPin, PD6, 7);
|
||||
impl_usart_pin!(USART2, CkPin, PD7, 7);
|
||||
impl_usart!(USART3, 0x40004800);
|
||||
impl_usart_pin!(USART3, TxPin, PB10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PB11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PB12, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PB13, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PB14, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PC10, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PC11, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PC12, 7);
|
||||
impl_usart_pin!(USART3, CkPin, PD10, 7);
|
||||
impl_usart_pin!(USART3, CtsPin, PD11, 7);
|
||||
impl_usart_pin!(USART3, RtsPin, PD12, 7);
|
||||
impl_usart_pin!(USART3, TxPin, PD8, 7);
|
||||
impl_usart_pin!(USART3, RxPin, PD9, 7);
|
||||
impl_usart!(USART6, 0x40011400);
|
||||
impl_usart_pin!(USART6, TxPin, PC6, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PC7, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PC8, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG12, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG13, 8);
|
||||
impl_usart_pin!(USART6, TxPin, PG14, 8);
|
||||
impl_usart_pin!(USART6, CtsPin, PG15, 8);
|
||||
impl_usart_pin!(USART6, CkPin, PG7, 8);
|
||||
impl_usart_pin!(USART6, RtsPin, PG8, 8);
|
||||
impl_usart_pin!(USART6, RxPin, PG9, 8);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user