Hi,
Is halGetCounterValue() also available on Chibios 3.0 ?
How can i get the equivelant of millis() and micros() in chibios 3.0?
Omar
Arduino's millis(), micros() equivalent in chibios
Moderator: tfAteba
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Arduino's millis(), micros() equivalent in chibios
Hi,
The realtime counter is not yet implemented in AVR, mills() can be repalced by chThdSleepMilliseconds().
Giovanni
The realtime counter is not yet implemented in AVR, mills() can be repalced by chThdSleepMilliseconds().
Giovanni
Re: Arduino's millis(), micros() equivalent in chibios
Hi Giovani,
Ok thanks for the quick reply,
I actually needed the counter values to add time traces to my serial logging.
I guess i will keep on using the 2.6.x until the port of 3.0 is complete.
Omar
Ok thanks for the quick reply,
I actually needed the counter values to add time traces to my serial logging.
I guess i will keep on using the 2.6.x until the port of 3.0 is complete.
Omar