rtos_trace

Trait RtosTrace

Source
pub trait RtosTrace {
Show 14 methods // Required methods fn task_new(id: u32); fn task_send_info(id: u32, info: TaskInfo); fn task_terminate(id: u32); fn task_exec_begin(id: u32); fn task_exec_end(); fn task_ready_begin(id: u32); fn task_ready_end(id: u32); fn system_idle(); fn isr_enter(); fn isr_exit(); fn isr_exit_to_scheduler(); fn marker(id: u32); fn marker_begin(id: u32); fn marker_end(id: u32);
}
Expand description

Collection of tracing functions which are called by the RTOS.

Required Methods§

Source

fn task_new(id: u32)

A new task with id was created.

Source

fn task_send_info(id: u32, info: TaskInfo)

The task with id has info attributes.

Source

fn task_terminate(id: u32)

The task with id has been terminated.

Source

fn task_exec_begin(id: u32)

The task with id will start to run on the CPU now.

Source

fn task_exec_end()

Execution of the current task has ended.

Source

fn task_ready_begin(id: u32)

The task with id is ready to run.

Source

fn task_ready_end(id: u32)

The task with id is being blocked/suspended.

Source

fn system_idle()

The RTOS enters idle mode.

Source

fn isr_enter()

Enter an ISR.

Source

fn isr_exit()

Exit an ISR.

Source

fn isr_exit_to_scheduler()

Exit an ISR to the scheduler.

Source

fn marker(id: u32)

Create a new marker with id.

Source

fn marker_begin(id: u32)

Begin event of marker with id.

Source

fn marker_end(id: u32)

End event of marker with id.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§