44 const int *peripheral;
47void pin_function(PinName pin,
int function);
48void pin_mode(PinName pin, PinMode mode);
50uint32_t pinmap_peripheral(PinName pin,
const PinMap *map);
51uint32_t pinmap_function(PinName pin,
const PinMap *map);
52uint32_t pinmap_merge(uint32_t a, uint32_t b);
53void pinmap_pinout(PinName pin,
const PinMap *map);
54uint32_t pinmap_find_peripheral(PinName pin,
const PinMap *map);
55uint32_t pinmap_find_function(PinName pin,
const PinMap *map);
181#if defined (TARGET_FF_ARDUINO) || (TARGET_FF_ARDUINO_UNO)
188const PinList *pinmap_ff_arduino_uno_pins(
void);
196const char *pinmap_ff_arduino_uno_pin_to_string(PinName pin);
199#ifndef MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
200#define MBED_CONF_TARGET_DEFAULT_FORM_FACTOR arduino_uno
205#ifdef MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
207#define PINMAP_DEFAULT_PINS_(name) pinmap_ff_ ## name ## _pins
208#define PINMAP_DEFAULT_PIN_TO_STRING_(name) pinmap_ff_ ## name ## _pin_to_string
209#define PINMAP_DEFAULT_PINS(name) PINMAP_DEFAULT_PINS_(name)
210#define PINMAP_DEFAULT_PIN_TO_STRING(name) PINMAP_DEFAULT_PIN_TO_STRING_(name)
211#define pinmap_ff_default_pins PINMAP_DEFAULT_PINS(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
212#define pinmap_ff_default_pin_to_string PINMAP_DEFAULT_PIN_TO_STRING(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
222const PinList *pinmap_ff_default_pins(
void);
233const char *pinmap_ff_default_pin_to_string(PinName pin);
bool pinmap_list_has_peripheral(const PeripheralList *list, int peripheral)
Check if the peripheral is in the list.
const PinList * pinmap_gpio_restricted_pins(void)
Get the pin list of pins to avoid during GPIO/GPIO_IRQ testing.
bool pinmap_find_peripheral_pins(const PinList *whitelist, const PinList *blacklist, int per, const PinMap *const *maps, PinName **pins, uint32_t count)
Find a combination of pins suitable for use given the constraints.
bool pinmap_list_has_pin(const PinList *list, PinName pin)
Check if the pin is in the list.
const PeripheralList * pinmap_uart_restricted_peripherals(void)
Get the pin list of peripherals per interface to avoid during testing.