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. Pin type as defined in TYPER register. Pin speed as defined in SPEEDR 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.