Function pin_name_to_ioport_id(const uint32_t)
Defined in File pins.h
Function Documentation
-
uint32_t pin_name_to_ioport_id(const uint32_t pin_name)
Convert pin name integer to IOPORT ID.
Maps Arduino Due pin numbers to their corresponding IOPORT identifiers.
- Parameters:
pin_name – Pin name as integer (e.g., 13 for D13)
- Returns:
IOPORT ID for the specified pin, or INVALID_PIN_IDX if not found