grblHAL core  20250412
pin_cap_t Union Reference

#include <crossbar.h>

Data Fields

uint32_t mask
 
struct {
   uint32_t   input:1
 
   uint32_t   output:1
 
   uint32_t   open_drain:1
 
   uint32_t   pull_mode:2
 pull_mode_t - pull up/down modes More...
 
   uint32_t   irq_mode:5
 pin_irq_mode_t - IRQ modes More...
 
   uint32_t   invert:1
 
   uint32_t   analog:1
 
   uint32_t   pwm:1
 
   uint32_t   servo_pwm:1
 
   uint32_t   claimable:1
 
   uint32_t   debounce:1
 
   uint32_t   external:1
 
   uint32_t   async:1
 
   uint32_t   resolution:4
 resolution_t - ADC/DAC resolution More...
 
   uint32_t   unused:10
 
}; 
 

Field Documentation

◆ 

struct { ... }

◆ analog

uint32_t analog

◆ async

uint32_t async

◆ claimable

uint32_t claimable

◆ debounce

uint32_t debounce

◆ external

uint32_t external

◆ input

uint32_t input

◆ invert

uint32_t invert

◆ irq_mode

uint32_t irq_mode

pin_irq_mode_t - IRQ modes

◆ mask

uint32_t mask

◆ open_drain

uint32_t open_drain

◆ output

uint32_t output

◆ pull_mode

uint32_t pull_mode

pull_mode_t - pull up/down modes

◆ pwm

uint32_t pwm

◆ resolution

uint32_t resolution

resolution_t - ADC/DAC resolution

◆ servo_pwm

uint32_t servo_pwm

◆ unused

uint32_t unused

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