diff options
| author | robert-hh <robert@hammelrath.com> | 2022-09-17 17:27:27 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-25 23:34:07 +1100 |
| commit | e5cf3fab951adf39e7d39c2a8600b61f84e517ce (patch) | |
| tree | 6fe92ccc9e2f1a52f990c76fc17c2ea3e460f3e5 /py/binary.h | |
| parent | e7aa9700cad4ace55fb9100c98b2bbfa811870d2 (diff) | |
samd/machine_pin: Change the pin handling and naming/numbering.
Pin numbers are now the MCU port numbers in the range:
PA0..PA31: 0..31
PB0..PB31: 32..63
PC0..PC31: 64..95
PD0..PD31: 96..127
Pins can be denoted by the GPIO port number, the name as defined in
pins.csv or a string in the form Pxnn, like "PA16" or "PD03".
The pins.c and pins.h files are now obsolete. The pin objects are part of
the AF table.
As result of a simplification, the code now supports using pin names or
numbers instead of pin objects for modules like UART, SPI, PWM, I2C, ADC,
pininfo.
Diffstat (limited to 'py/binary.h')
0 files changed, 0 insertions, 0 deletions
