Skip to content

Commit

Permalink
Correct UART pin function select
Browse files Browse the repository at this point in the history
  • Loading branch information
cibomahto committed Dec 1, 2024
1 parent 96df708 commit bccfdf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/machine/machine_rp2_2350.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const (
// Connect the high-speed transmit peripheral (HSTX) to GPIO.
fnHSTX pinFunc = 0
fnSPI pinFunc = 1 // Connect one of the internal PL022 SPI peripherals to GPIO
fnUARTctsrts pinFunc = 2
fnUART pinFunc = 2
fnI2C pinFunc = 3
// Connect a PWM slice to GPIO. There are eight PWM slices,
// each with two outputchannels (A/B). The B pin can also be used as an input,
Expand All @@ -84,7 +84,7 @@ const (
fnQMI pinFunc = 9
// USB power control signals to/from the internal USB controller.
fnUSB pinFunc = 10
fnUART pinFunc = 11
fnUARTAlt pinFunc = 11
fnNULL pinFunc = 0x1f
)

Expand Down

0 comments on commit bccfdf7

Please sign in to comment.