grblHAL core  20261015
timer_cap_t Union Reference

#include <hal.h>

Data Fields

uint16_t value
 All bitmap flags. More...
 
struct {
   uint16_t   periodic:1
 
   uint16_t   resolution:2
 timer_resolution_t More...
 
   uint16_t   up:1
 Timer supports upcounting. More...
 
   uint16_t   comp1:1
 Timer supports compare interrupt 0. More...
 
   uint16_t   comp2:1
 Timer supports compare interrupt 1. More...
 
   uint16_t   comp3:1
 Timer supports compare interrupt 2. More...
 
   uint16_t   ext_clk:1
 External clock supported. More...
 
   uint16_t   encoder:1
 Encoder mode supported. More...
 
   uint16_t   unused:7
 
}; 
 

Field Documentation

◆ 

struct { ... }

◆ comp1

uint16_t comp1

Timer supports compare interrupt 0.

◆ comp2

uint16_t comp2

Timer supports compare interrupt 1.

◆ comp3

uint16_t comp3

Timer supports compare interrupt 2.

◆ encoder

uint16_t encoder

Encoder mode supported.

◆ ext_clk

uint16_t ext_clk

External clock supported.

◆ periodic

uint16_t periodic

◆ resolution

uint16_t resolution

timer_resolution_t

◆ unused

uint16_t unused

◆ up

uint16_t up

Timer supports upcounting.

◆ value

uint16_t value

All bitmap flags.


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