2 posts / 0 new
Last post
dhirajp15
Offline
Last seen:2 years 1 month ago
加入:20.16-06-08 15:26
Uart Flow Control


I am working on DSPS code example and I am planning to use the function
uart_mcr_pack(UART_ENABLE, // extfunc
UART_DISABLE, // autorts
UART_ENABLE, // autocts
UART_DISABLE); // rts
which is called in uart_sps_finish_transfers() function.
Where can I find some documentation about these functions and their working flow?. I the uart_mcr_pack() function we send four parameters as extfunc,autorts,autocts,rts. How does this function execute and how to use it in Hardware flow control?

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:20.15-06-08 11:34
Hi dhirajp15,

Hi dhirajp15,

The uart_mcr_pack() enables the automatic flow control of the UART and sets to 0 the direct control of the UART_RTS signal in order for the hardware to manage it. You can find the available information for the UART_MCR_REG in the datasheet.

Thanks MT_dialog