circuitpython/ports
robert-hh 6765d4bbd6 samd/pin_af: Add the pin af table and its helper functions.
The pin af table is a representation of the MUX table from the data sheet.
It provides information for each pin about the supported device functions.

That information is needed by pin.irq, machine.ADC, machine.PWM,
machine.UART, machine.SPI and machine.I2C.  For each of these, the table
tells for each pin, which device number, af number and pad number is
assigned.  Using the table gives a straight, uniform access to the
information, where the benefit outweights the size of the table, which is
not that large.

The tables are MCU-specific.  It is not required to tell for each board,
which and where each of the above devices is available.  That makes addding
boards easy.

Note: The information for DAC and I2S was not included, since it affects
only a few pins.
2022-10-06 22:39:17 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
esp32 esp32/machine_hw_spi: Use auto DMA channel on S2, S3, C3 chips. 2022-10-04 17:43:48 +11:00
esp8266 top: Replace upip with mip everywhere. 2022-09-30 17:34:03 +10:00
mimxrt py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
minimal tests/frozen: Move frozentest.mpy from ports/ to tests/. 2022-09-19 23:51:10 +10:00
nrf py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
pic16bit py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
powerpc tests/frozen: Move frozentest.mpy from ports/ to tests/. 2022-09-19 23:51:10 +10:00
qemu-arm py/objstr: Add hex/fromhex to bytes/memoryview/bytearray. 2022-08-12 12:44:30 +10:00
renesas-ra py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
rp2 top: Replace upip with mip everywhere. 2022-09-30 17:34:03 +10:00
samd samd/pin_af: Add the pin af table and its helper functions. 2022-10-06 22:39:17 +11:00
stm32 stm32/boards/NUCLEO_L152RE: Add NUCLEO-L152RE board support. 2022-09-25 23:56:41 +10:00
teensy py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00
unix top: Replace upip with mip everywhere. 2022-09-30 17:34:03 +10:00
webassembly javascript: Rename this port to 'webassembly'. 2022-08-22 12:03:39 +01:00
windows all: Update all manifest.py files to use new features. 2022-09-05 18:43:18 +10:00
zephyr py/obj: Convert make_new into a mp_obj_type_t slot. 2022-09-19 19:06:15 +10:00