psp_uart_isr_disable
Use this function to disable RX and/or TX interrupts on a UART channel.
Format
t_psp_uart_ret psp_uart_isr_disable (
const uint8_t uid,
const uint8_t flags )
Arguments
Parameter | Description | Type |
---|---|---|
uid | The unit ID. | uint8_t |
flags | The interrupt to disable (PSP_UART_FLAG_RX or PSP_UART_FLAG_TX). | uint8_t |
Return Values
Return value | Description |
---|---|
PSP_UART_SUCCESS | Successful execution. |
PSP_UART_ERROR | Operation failed. |