Object representing an STM32 pin for the GPIOv2 peripheral. Pin identifier, used to generate a #define with the pin name. Pin mode, as defined for MODER register. Logic level for the ODR register. Pin speed as defined in SPEEDR register. Pin type as defined in TYPER register. Pin pull-up/down resistor as defined in PUDR register. Pin alternate function number, only valid if "Alternate" is selected in the Mode attribute.