Пример #1
0
void cb_uartRxCb(void) {
   
   //  uint8_t byte;
   uart_clearRxInterrupts();
   
   // toggle LED
   leds_debug_toggle();
}
Пример #2
0
void cb_uartRxCb() {
   //  uint8_t byte;
   uart_clearRxInterrupts();
   // toggle LED
   leds_debug_toggle();
   
   // read received byte
   //byte = uart_readByte();
   
   // echo that byte over serial
   //uart_writeByte(byte);
}
Пример #3
0
/**
 * GPIO_C ISR handler. User button is GPIO_C_3
 * Toggle debug led when user button is pressed
 */
void GPIO_C_Isr_Handler(){

	GPIOPinIntClear(GPIO_C_BASE, BSP_USER_BUTTON);
	leds_debug_toggle();//toggle led.
}