generated from hulk/gd32f4xx_template_cmake_vscode
FilmForge: RS485 data link (USART0+DE PA8) and NTC temp (PC5 ADC0)
This commit is contained in:
+5
-6
@@ -13,6 +13,11 @@
|
||||
void uart_init(void);
|
||||
void debug_usart_init(void);
|
||||
|
||||
/**
|
||||
* @brief debug 串口阻塞发送一个字节(printf 重定向亦走此通路)。
|
||||
*/
|
||||
void debug_uart_write(uint8_t byte);
|
||||
|
||||
/*!
|
||||
\brief pause UART RX interrupt (RBNE)
|
||||
\param[in] none
|
||||
@@ -29,10 +34,4 @@ void uart_rx_irq_pause(void);
|
||||
*/
|
||||
void uart_rx_irq_resume(void);
|
||||
|
||||
#if RS485_MODE == CFG_ENABLE
|
||||
/* RS485 DE 引脚手动控制(GD32F4xx USART 无硬件 DE 驱动) */
|
||||
void rs485_de_set(void);
|
||||
void rs485_de_clear(void);
|
||||
#endif
|
||||
|
||||
#endif // UART_H
|
||||
|
||||
Reference in New Issue
Block a user