/********************************************************************* * @fn BLE_AdvertiseEventCB * * @brief Callback from advertise over * * @param None * * @return none */ void BLE_AdvertiseEventCB( uint32_t timeUs ) { GPIOA_ResetBits(GPIO_Pin_4); PRINT("timeUs %d=\n",timeUs); PRINT("Current RTC-Cnt= %d \n",RTC_GetCycle32k()); GPIOA_SetBits(GPIO_Pin_4); }
声明函数
函数调用
LL_AdvertiseEventRegister(BLE_AdvertiseEventCB);
运行结果
标签:CH592,CH573,PRINT,timeUs,AdvertiseEventCB,GPIO,BLE,CH582 From: https://www.cnblogs.com/debugdabiaoge/p/18280078