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