thread.hpp File Reference

Public API for thread module. More...

Detailed Description

Public API for thread module.

Author
Gilles DOFFE g.dof.nosp@m.fe@g.nosp@m.mail..nosp@m.com

Definition in file thread.hpp.

#include <ztimer.h>
+ Include dependency graph for thread.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cogip
 Differential drive controller.
 

Functions

void cogip::thread::thread_ztimer_periodic_wakeup (ztimer_clock_t *clock, uint32_t *last_wakeup, uint32_t period)
 Wrapper to RIOT ztimer_periodic_wakeup() More...
 

Function Documentation

◆ thread_ztimer_periodic_wakeup()

void cogip::thread::thread_ztimer_periodic_wakeup ( ztimer_clock_t *  clock,
uint32_t *  last_wakeup,
uint32_t  period 
)

Wrapper to RIOT ztimer_periodic_wakeup()

Parameters
clockztimer clock to operate on
last_wakeupbase time stamp for the wakeup
periodtime in ticks that will be added to last_wakeup