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);
198#if defined (TARGET_FF_ARDUINO) || (TARGET_FF_ARDUINO_UNO)
205const PinList *pinmap_ff_arduino_uno_pins(
void);
213const char *pinmap_ff_arduino_uno_pin_to_string(PinName pin);
216#ifndef MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
217#define MBED_CONF_TARGET_DEFAULT_FORM_FACTOR arduino_uno
222#ifdef MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
224#define PINMAP_DEFAULT_PINS_(name) pinmap_ff_ ## name ## _pins
225#define PINMAP_DEFAULT_PIN_TO_STRING_(name) pinmap_ff_ ## name ## _pin_to_string
226#define PINMAP_DEFAULT_PINS(name) PINMAP_DEFAULT_PINS_(name)
227#define PINMAP_DEFAULT_PIN_TO_STRING(name) PINMAP_DEFAULT_PIN_TO_STRING_(name)
228#define pinmap_ff_default_pins PINMAP_DEFAULT_PINS(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
229#define pinmap_ff_default_pin_to_string PINMAP_DEFAULT_PIN_TO_STRING(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
239const PinList *pinmap_ff_default_pins(
void);
250const 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.
const PinList * pinmap_restricted_pins(void)
Get the pin list of pins to avoid during testing.
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.