[PATCH] Updated tick implementation for HAL_GetTick
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Apr 21 18:25:33 UTC 2021
On 21/04/2021 19:30, Sebastian Huber wrote:
> On 21/04/2021 11:00, Robin Müller wrote:
>
>> Okay, good to know. Do you think it's okay if my simpler
>> implementation is used completely?
>> Another option would be to use the simple function for the oscillator
>> init functions (sth like a private HAL_GetTick_OscInit function).
>> But maybe you have a better idea.
> If the ticks base solution works it is all right. The HAL_GetTick() -
> HAL_GetTick() (e.g. tick 0xffffabcd - tick 0x123) should return a
> correct interval during a tick overflow.
It should be 0x123 - 0xffffabcd.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list