APM:Libraries
Scheduler.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "AP_HAL_Empty.h"
4 
6 public:
7  Scheduler();
8  void init();
9  void delay(uint16_t ms);
10  void delay_microseconds(uint16_t us);
11  void register_timer_process(AP_HAL::MemberProc);
12  void register_io_process(AP_HAL::MemberProc);
13  void suspend_timer_procs();
14  void resume_timer_procs();
15 
16  void register_timer_failsafe(AP_HAL::Proc, uint32_t period_us);
17 
18  void system_initialized();
19 
20  void reboot(bool hold_in_bootloader);
21 
22 };
void(* Proc)(void)
void suspend_timer_procs()
Definition: Scheduler.cpp:31
void delay(uint16_t ms)
Definition: Scheduler.cpp:16
void system_initialized()
Definition: Scheduler.cpp:37
void reboot(bool hold_in_bootloader)
Definition: Scheduler.cpp:40
void register_timer_process(AP_HAL::MemberProc)
Definition: Scheduler.cpp:22
void resume_timer_procs()
Definition: Scheduler.cpp:34
void delay_microseconds(uint16_t us)
Definition: Scheduler.cpp:19
void register_io_process(AP_HAL::MemberProc)
Definition: Scheduler.cpp:25
void register_timer_failsafe(AP_HAL::Proc, uint32_t period_us)
Definition: Scheduler.cpp:28