3-phase PV router
Loading...
Searching...
No Matches
PinCheck Struct Reference

Result of check_pins(): whether every pin is used once, and the pins used. More...

#include <validation.h>

Public Attributes

bool unique
 
uint32_t used
 

Detailed Description

Result of check_pins(): whether every pin is used once, and the pins used.

Two fields, not a mask that is 0 on a conflict: a router with only remote loads and no other pin uses no pin at all, and is fine.

Definition at line 106 of file validation.h.

Member Data Documentation

◆ unique

bool PinCheck::unique

no pin is used twice

Definition at line 108 of file validation.h.

◆ used

uint32_t PinCheck::used

the pins used, bit n = pin n (0 on a conflict); bit 31 = a pin from 32 on

Definition at line 109 of file validation.h.


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