@web-font-path: "roboto-debian.css";
Hardware Tick API. More...
Typedefs | |
| typedef enum tick_gen_num_rp2040 | tick_gen_num_t |
| Tick generator numbers on RP2040 (used as typedef tick_gen_num_t). | |
Enumerations | |
| enum | tick_gen_num_rp2040 { TICK_WATCHDOG = 0 , TICK_COUNT } |
| Tick generator numbers on RP2040 (used as typedef tick_gen_num_t). More... | |
Functions | |
| void | tick_start (tick_gen_num_t tick, uint cycles) |
| Start a tick generator. | |
| void | tick_stop (tick_gen_num_t tick) |
| Stop a tick generator. | |
| bool | tick_is_running (tick_gen_num_t tick) |
| Check if a tick genererator is currently running. | |
Hardware Tick API.
RP2040 only has one tick generator, and it is part of the watchdog hardware.
| typedef enum tick_gen_num_rp2040 tick_gen_num_t |
Tick generator numbers on RP2040 (used as typedef tick_gen_num_t).
RP2040 only has one tick generator, and it is part of the watchdog hardware
| enum tick_gen_num_rp2040 |
Tick generator numbers on RP2040 (used as typedef tick_gen_num_t).
RP2040 only has one tick generator, and it is part of the watchdog hardware
| bool tick_is_running | ( | tick_gen_num_t | tick | ) |
Check if a tick genererator is currently running.
| tick | The tick generator number |
| void tick_start | ( | tick_gen_num_t | tick, |
| uint | cycles ) |
Start a tick generator.
| tick | The tick generator number |
| cycles | The number of clock cycles per tick |
| void tick_stop | ( | tick_gen_num_t | tick | ) |
Stop a tick generator.
| tick | The tick generator number |