enum | pin_function_t {
Input_Reset = 0
, Input_FeedHold
, Input_CycleStart
, Input_SafetyDoor
,
Input_BlockDelete
, Input_StopDisable
, Input_EStop
, Input_ProbeDisconnect
,
Input_MotorFault
, Input_MotorWarning
, Input_LimitsOverride
, Input_SingleBlock
,
Input_Unassigned
, Input_ProbeOvertravel
, Input_Probe
, Input_MotorFaultX
,
Input_MotorFaultY
, Input_MotorFaultZ
, Input_MotorFaultA
, Input_MotorFaultB
,
Input_MotorFaultC
, Input_MotorFaultU
, Input_MotorFaultV
, Input_MotorFaultX_2
,
Input_MotorFaultY_2
, Input_MotorFaultZ_2
, Input_Toolsetter
, Input_ToolsetterOvertravel
,
Input_MPGSelect
, Input_ModeSelect = Input_MPGSelect
, Input_LimitX
, Input_LimitX_2
,
Input_LimitX_Max
, Input_HomeX
, Input_HomeX_2
, Input_LimitY
,
Input_LimitY_2
, Input_LimitY_Max
, Input_HomeY
, Input_HomeY_2
,
Input_LimitZ
, Input_LimitZ_2
, Input_LimitZ_Max
, Input_HomeZ
,
Input_HomeZ_2
, Input_LimitA
, Input_LimitA_Max
, Input_HomeA
,
Input_LimitB
, Input_LimitB_Max
, Input_HomeB
, Input_LimitC
,
Input_LimitC_Max
, Input_HomeC
, Input_LimitU
, Input_LimitU_Max
,
Input_HomeU
, Input_LimitV
, Input_LimitV_Max
, Input_HomeV
,
Input_SpindleIndex
, Input_SpindlePulse
, Input_Aux0
, Input_Aux1
,
Input_Aux2
, Input_Aux3
, Input_Aux4
, Input_Aux5
,
Input_Aux6
, Input_Aux7
, Input_Aux8
, Input_Aux9
,
Input_Aux10
, Input_Aux11
, Input_Aux12
, Input_Aux13
,
Input_Aux14
, Input_Aux15
, Input_AuxMax = Input_Aux15
, Input_Analog_Aux0
,
Input_Analog_Aux1
, Input_Analog_Aux2
, Input_Analog_Aux3
, Input_Analog_Aux4
,
Input_Analog_Aux5
, Input_Analog_Aux6
, Input_Analog_Aux7
, Input_Analog_AuxMax = Input_Analog_Aux7
,
Output_StepX
, Outputs = Output_StepX
, Output_StepX_2
, Output_StepY
,
Output_StepY_2
, Output_StepZ
, Output_StepZ_2
, Output_StepA
,
Output_StepB
, Output_StepC
, Output_StepU
, Output_StepV
,
Output_DirX
, Output_DirX_2
, Output_DirY
, Output_DirY_2
,
Output_DirZ
, Output_DirZ_2
, Output_DirA
, Output_DirB
,
Output_DirC
, Output_DirU
, Output_DirV
, Output_MotorChipSelect
,
Output_MotorChipSelectX
, Output_MotorChipSelectY
, Output_MotorChipSelectZ
, Output_MotorChipSelectM3
,
Output_MotorChipSelectM4
, Output_MotorChipSelectM5
, Output_MotorChipSelectM6
, Output_MotorChipSelectM7
,
Output_StepperPower
, Output_StepperEnable
, Output_StepperEnableX
, Output_StepperEnableY
,
Output_StepperEnableZ
, Output_StepperEnableA
, Output_StepperEnableB
, Output_StepperEnableU
,
Output_StepperEnableV
, Output_StepperEnableC
, Output_StepperEnableXY
, Output_StepperEnableAB
,
Output_SpindleOn
, Output_SpindleDir
, Output_SpindlePWM
, Output_Spindle1On
,
Output_Spindle1Dir
, Output_Spindle1PWM
, Output_CoolantMist
, Output_CoolantFlood
,
Output_Aux0
, Output_Aux1
, Output_Aux2
, Output_Aux3
,
Output_Aux4
, Output_Aux5
, Output_Aux6
, Output_Aux7
,
Output_Aux8
, Output_Aux9
, Output_Aux10
, Output_Aux11
,
Output_Aux12
, Output_Aux13
, Output_Aux14
, Output_Aux15
,
Output_AuxMax = Output_Aux15
, Output_Analog_Aux0
, Output_Analog_Aux1
, Output_Analog_Aux2
,
Output_Analog_Aux3
, Output_Analog_Aux4
, Output_Analog_Aux5
, Output_Analog_Aux6
,
Output_Analog_Aux7
, Output_Analog_AuxMax = Output_Analog_Aux7
, Output_LED
, Output_LED_R
,
Output_LED_G
, Output_LED_B
, Output_LED_W
, Output_LED_Adressable
,
Output_LED0_Adressable = Output_LED_Adressable
, Output_LED1_Adressable
, Output_CoProc_Reset
, Output_CoProc_Boot0
,
Input_MISO
, Multipin = Input_MISO
, Output_MOSI
, Output_SPICLK
,
Output_SPICS
, Output_FlashCS
, Output_SdCardCS
, Input_SdCardDetect
,
Output_SPIRST
, Input_SPIIRQ
, Output_SCK
, Output_I2CSCK = Output_SCK
,
Bidirectional_SDA
, Bidirectional_I2CSDA = Bidirectional_SDA
, Input_KeypadStrobe
, Input_I2CStrobe
,
Input_RX
, Output_TX
, Output_RTS
, Input_QEI_A
,
Input_QEI_B
, Input_QEI_Select
, Input_QEI_Index
, Virtual_Pin
,
Bidirectional_MotorUARTX
, Bidirectional = Bidirectional_MotorUARTX
, Bidirectional_MotorUARTY
, Bidirectional_MotorUARTZ
,
Bidirectional_MotorUARTM3
, Bidirectional_MotorUARTM4
, Bidirectional_MotorUARTM5
, Bidirectional_MotorUARTM6
,
Bidirectional_MotorUARTM7
} |
enum | pin_group_t {
PinGroup_SpindleControl = 0
, PinGroup_SpindlePWM
, PinGroup_Coolant
, PinGroup_SpindlePulse
,
PinGroup_SpindleIndex
, PinGroup_StepperPower
, PinGroup_StepperEnable
, PinGroup_StepperStep
,
PinGroup_StepperDir
, PinGroup_AuxOutput
, PinGroup_AuxInputAnalog
, PinGroup_AuxOutputAnalog
,
PinGroup_MotorChipSelect
, PinGroup_MotorUART
, PinGroup_I2C
, PinGroup_SPI
,
PinGroup_UART1
, PinGroup_UART = PinGroup_UART1
, PinGroup_UART2
, PinGroup_UART3
,
PinGroup_UART4
, PinGroup_USB
, PinGroup_CAN
, PinGroup_LED
,
PinGroup_Home
, PinGroup_Virtual
, PinGroup_Control = (1<<8)
, PinGroup_Limit = (1<<9)
,
PinGroup_LimitMax = (1<<10)
, PinGroup_Probe = (1<<11)
, PinGroup_Keypad = (1<<12)
, PinGroup_MPG = (1<<13)
,
PinGroup_QEI = (1<<14)
, PinGroup_QEI_Select = (1<<15)
, PinGroup_QEI_Index = (1<<16)
, PinGroup_Motor_Warning = (1<<17)
,
PinGroup_Motor_Fault = (1<<18)
, PinGroup_SdCard = (1<<19)
, PinGroup_AuxInput = (1<<20)
} |