Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microcontrollers: list PWM peripherals along with the pins #288

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

aykevl
Copy link
Member

@aykevl aykevl commented Sep 5, 2022

Add PWM peripherals in the pin table so that it becomes easier to know which PWM peripheral is usable for a given pin.

This doesn't include all chips. Specifically:

  • stm32 chips aren't included yet
  • nrf chips can use any PWM peripheral for any pin, so a table doesn't make much sense

Future ideas:

  • Also list other peripherals, like SPI, I2C, UART, etc.
  • Maybe also make a table of supported peripherals? Not sure whether that's useful or just clutters the page more.

This PR requires tinygo-org/tinygo#3134.

Add PWM peripherals in the pin table so that it becomes easier to know
which PWM peripheral is usable for a given pin.

This doesn't include all chips. Specifically:

  - stm32 chips aren't included yet
  - nrf chips can use any PWM peripheral for any pin, so a table doesn't
    make much sense
@deadprogram
Copy link
Member

This is very helpful! Thanks @aykevl

@deadprogram deadprogram merged commit 24c6586 into dev Sep 5, 2022
@deadprogram deadprogram deleted the board-pin-pwm branch September 5, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants