Pārlūkot izejas kodu

Fix pin defines for pins 0 & 1, fixes PWM issue

teensy4-core
PaulStoffregen pirms 6 gadiem
vecāks
revīzija
0a7c35fb3c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      teensy4/core_pins.h

+ 2
- 2
teensy4/core_pins.h Parādīt failu

@@ -299,8 +299,8 @@
#define CORE_PIN33_PINREG GPIO4_PSR

// mux config registers control which peripheral uses the pin
#define CORE_PIN0_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_02
#define CORE_PIN1_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_03
#define CORE_PIN0_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_03
#define CORE_PIN1_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_02
#define CORE_PIN2_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_04
#define CORE_PIN3_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_05
#define CORE_PIN4_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_06

Notiek ielāde…
Atcelt
Saglabāt