You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
437 B
16 lines
437 B
#ifndef _IO_H_
|
|
#define _IO_H_
|
|
|
|
#define debug_led_port PB
|
|
#define debug_led_pin PBT4
|
|
#define uart0_tx_io PAT1
|
|
#define uart0_rx_io PAT2
|
|
#define uart1_tx_io PBT5
|
|
#define uart1_rx_io PBT6
|
|
#define beep_port PB
|
|
#define beep_pin PBT0
|
|
#define jerk_port PA //引脚是0直接在主函数判断该引脚的电平状态即可
|
|
#define jerk_pin PAT0
|
|
#define rs485_re_port PB
|
|
#define rs485_re_pin PB3
|
|
#endif
|