hi
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:
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