File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
docs/design-documents/hal Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,16 @@ It is proposed to introduce the following elements :
36
36
- ` DEVICE_PIN_EXTENDED_SUPPORT ` A ` device_has ` flag indicating the implementation of this extension.
37
37
- The following part of the API provides the features needed for requirements 3, 4 and 5
38
38
``` c
39
+ enum pinmap_form_factor_ {
40
+ PINMAP_FORM_FACTOR_ARDUINO_ZERO,
41
+ PINMAP_FORM_FACTOR_ARDUINO_DUE,
42
+ PINMAP_FORM_FACTOR_NXP_FRDM,
43
+ PINMAP_FORM_FACTOR_ST_MORPHO,
44
+ PINMAP_FORM_FACTOR_MTB,
45
+ } pinmap_form_factor_t;
46
+
39
47
/// returns an NC terminated array of pins.
40
- const PinName *pinmap_form_factor_pins ();
48
+ const PinName * pinmap_form_factor_pins(pinmap_form_factor_t form_factor );
41
49
/// returns an NC terminated array of pins.
42
50
const PinName * pinmap_restricted_pins();
43
51
/// returns a null (\0) terminated character array.
You can’t perform that action at this time.
0 commit comments