psp_uart_delete


Use this function to delete a UART port and release the associated resources.

Format

t_psp_uart_ret psp_uart_delete ( const uint8_t uid )

Arguments

Parameter Description Type
uid The unit ID. uint8_t

Return Values

Return value Description
PSP_UART_SUCCESS Successful execution.
PSP_UART_ERROR Operation failed.