Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4834

SDK • Re: core used for hardware alarms

$
0
0
Use alarm_pool_t *alarm_pool_create(uint max_timers, uint hardware_alarm _num) or alarm_pool_t *alarm_pool_create_with_unused_hardware_alarm(uint max_timers) from core 1 to create your own alarm pool, and pass that to the function variants which take the alarm_pool

you can set PICO_TIME_DEFAULT_ALARM_POOL_DISABLED=1 in your compiler definitions to disable the default alarm pool. there is currently no way to replace the default alarm pol

Statistics: Posted by kilograham — Fri Feb 23, 2024 2:18 pm



Viewing all articles
Browse latest Browse all 4834

Trending Articles