Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1 172 Ver.1.0.0
DBG_CHN0_TOGGLE; //gpio 0 toggle to see the effect
return 0;
}
int gpio_test1(void)
{
DBG_CHN1_TOGGLE; //gpio 1 toggle to see the effect
static u8 flg = 0;
flg = !flg;
if(flg){
return 7000;
}
else{
return 17000;
}
}
int gpio_test2(void)
{
DBG_CHN2_TOGGLE; //gpio 2 toggle to see the effect
//timer last for 5 second
if(clock_time_exceed(0, 5000000)){
//return -1;
blt_soft_timer_delete(&gpio_test2);
}
return 0;
}
int gpio_test3(void)
{
//gpio 3 toggle to see the effect
DBG_CHN3_TOGGLE;
return 0;