44 const int *peripheral;
47 void pin_function(PinName pin,
int function);
48 void pin_mode(PinName pin, PinMode mode);
50 uint32_t pinmap_peripheral(PinName pin,
const PinMap *map);
51 uint32_t pinmap_function(PinName pin,
const PinMap *map);
52 uint32_t pinmap_merge(uint32_t a, uint32_t b);
53 void pinmap_pinout(PinName pin,
const PinMap *map);
54 uint32_t pinmap_find_peripheral(PinName pin,
const PinMap *map);
55 uint32_t pinmap_find_function(PinName pin,
const PinMap *map);
198 #if defined (TARGET_FF_ARDUINO) || (TARGET_FF_ARDUINO_UNO) 205 const PinList *pinmap_ff_arduino_uno_pins(
void);
213 const 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) 239 const PinList *pinmap_ff_default_pins(
void);
250 const 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.
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 PinList * pinmap_gpio_restricted_pins(void)
Get the pin list of pins to avoid during GPIO/GPIO_IRQ testing.
const PinList * pinmap_restricted_pins(void)
Get the pin list of pins to avoid during testing.
Connected isochronous stream linked list.
const PeripheralList * pinmap_uart_restricted_peripherals(void)
Get the pin list of peripherals per interface to avoid during testing.