grblHAL core  20241107
timer_cfg_t Struct Reference

#include <hal.h>

Data Fields

void * context
 Pointer to data to be passed on to the interrupt handlers. More...
 
bool single_shot
 Set to true if timer is single shot. More...
 
timer_irq_handler_ptr timeout_callback
 Pointer to main timeout callback. More...
 
uint32_t irq0
 Compare value for compare interrupt 0. More...
 
timer_irq_handler_ptr irq0_callback
 Pointer to compare interrupt 0 callback. More...
 
uint32_t irq1
 Compare value for compare interrupt 10. More...
 
timer_irq_handler_ptr irq1_callback
 Pointer to compare interrupt 1 callback. More...
 

Field Documentation

◆ context

void* context

Pointer to data to be passed on to the interrupt handlers.

◆ irq0

uint32_t irq0

Compare value for compare interrupt 0.

◆ irq0_callback

timer_irq_handler_ptr irq0_callback

Pointer to compare interrupt 0 callback.

◆ irq1

uint32_t irq1

Compare value for compare interrupt 10.

◆ irq1_callback

timer_irq_handler_ptr irq1_callback

Pointer to compare interrupt 1 callback.

◆ single_shot

bool single_shot

Set to true if timer is single shot.

◆ timeout_callback

timer_irq_handler_ptr timeout_callback

Pointer to main timeout callback.


The documentation for this struct was generated from the following file: