Function pin_name_to_ioport_id(const char *)

Function Documentation

uint32_t pin_name_to_ioport_id(const char *pin_name)

Convert pin name string to IOPORT ID.

Maps Arduino Due pin names to their corresponding IOPORT identifiers.

Parameters:

pin_name – Pointer to pin name string (e.g., “D13”, “A0”)

Returns:

IOPORT ID for the specified pin, or 0 if not found