Anonymous
Not applicable
Apr 05, 2014
03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 05, 2014
03:38 AM
The explanation for the Timer in datasheet is :
Normal timer has a resolution of one second.
Fine timer can be configured in the device configuration to be as low as 12.5 milliseconds. Call
Then I use the timer is:
the fine_timer_interval in BLE_PROFILE_CFG is 5000;
void time_cb(UINT32 value)
{
puart_print("t!\r\n");
}
void fint_time_cb(UINT32 value)
{
puart_print("f_t!\r\n");
}
bleprofile_regTimerCb(time_cb,fine_time_cb);
bleprofile_StartTimer();
The Output timing of “t” and “f_t” is not:
“t” :Output once every 1 seconds
“f_t” :Output once every5 seconds
Please give me some tips!Thanks!
Solved! Go to Solution.
Labels
- Labels:
-
Timers
1 Solution
Anonymous
Not applicable
Apr 06, 2014
06:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 06, 2014
06:01 PM
1 Reply
Anonymous
Not applicable
Apr 06, 2014
06:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 06, 2014
06:01 PM