*/staticvoidtrainingTag_clockHandler(UArg arg){// Store the event.events |= arg;// Wake up the application.Semaphore_post(sem); } 开发者ID:andrewfaf,项目名称:SensorTagTest,代码行数:17,代码来源:trainingTag.c 示例6: USBCDC_handleReceiveCompleted ▲点赞 1▼ uint8_tUSBCDC_handleReceiveComple...
Semaphore_post(Semaphore_handle(&semUartTaskAlert)); stopUartEmulator(); } } void stopUartEmulator(void) { while(1){ Semaphore_pend(Semaphore_handle(&semUartTaskAlert), BIOS_WAIT_FOREVER); CPUdelay((100 * 1000 * 48) / 3); scifUartStopEmulator(); uartClosed = 1; scifResetT...