kick_scheduler_t uart_rx_isr() { uart_clearRxInterrupts(); // TODO: do not clear, but disable when done if (uart_vars.rxCb != NULL) { uart_vars.rxCb(); } return DO_NOT_KICK_SCHEDULER; }
/* * @brief uart_rx_isr This function will be called from usart * interrupt when RTXC interrupt flag is set * * @param return kick_scheduler_t * */ kick_scheduler_t uart_rx_isr(void) { uart_clearRxInterrupts(); if (uart_vars.rxCb != NULL) { uart_vars.rxCb(); } return DO_NOT_KICK_SCHEDULER; }
kick_scheduler_t uart_rx_isr() { uart_vars.rxCb(); return DO_NOT_KICK_SCHEDULER; }
uint8_t uart_isr_rx() { uart_clearRxInterrupts(); // TODO: do not clear, but disable when done uart_vars.rxCb(); return 0; }
kick_scheduler_t uart_rx_isr() { uart_clearRxInterrupts(); uart_vars.rxCb(); return DO_NOT_KICK_SCHEDULER; }