grblHAL core  20251012
timer_cap_t Union Reference

#include <hal.h>

Data Fields

uint8_t value
 All bitmap flags. More...
 
struct {
   uint8_t   periodic:1
 
   uint8_t   up:1
 Timer supports upcounting. More...
 
   uint8_t   comp1:1
 Timer supports compare interrupt 0. More...
 
   uint8_t   comp2:1
 Timer supports compare interrupt 1. More...
 
   uint8_t   ext_clk:1
 External clock supported. More...
 
   uint8_t   encoder:1
 Emcode mode supported. More...
 
   uint8_t   unused:2
 
}; 
 

Field Documentation

◆ 

struct { ... }

◆ comp1

uint8_t comp1

Timer supports compare interrupt 0.

◆ comp2

uint8_t comp2

Timer supports compare interrupt 1.

◆ encoder

uint8_t encoder

Emcode mode supported.

◆ ext_clk

uint8_t ext_clk

External clock supported.

◆ periodic

uint8_t periodic

◆ unused

uint8_t unused

◆ up

uint8_t up

Timer supports upcounting.

◆ value

uint8_t value

All bitmap flags.


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