示例#1
0
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;
}
示例#2
0
文件: uart.c 项目: Babody/openwsn-fw
/*
 * @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;  
}
示例#3
0
文件: uart.c 项目: Babody/openwsn-fw
kick_scheduler_t uart_rx_isr() 
{
    uart_vars.rxCb();
    return DO_NOT_KICK_SCHEDULER;
}
示例#4
0
uint8_t uart_isr_rx() {
   uart_clearRxInterrupts(); // TODO: do not clear, but disable when done
   uart_vars.rxCb();
   return 0;
}
示例#5
0
文件: uart.c 项目: SvenAkk/openwsn-fw
kick_scheduler_t uart_rx_isr() {
    uart_clearRxInterrupts();
    uart_vars.rxCb();
    return DO_NOT_KICK_SCHEDULER;
}