peripheral_examples icon indicating copy to clipboard operation
peripheral_examples copied to clipboard

PWM PA6 mode setting for example EFR32 S2 timer_pwm_dma

Open silabs-DenverL opened this issue 3 years ago • 0 comments

Example path, file name, line number(s) (https://github.com/SiliconLabs/peripheral_examples/blob/master/series2/timer/timer_pwm_dma/src/main.c)

Gecko SDK Suite version e.g. v4.2

Board e.g. BRD4182A

Expected behavior Should PA6 be set as pushpull mode?

Observed/problematic behavior Set as input mode.

void initGPIO(void)
{
  // Configure PA6 as Input
  GPIO_PinModeSet(gpioPortA, 6, gpioModeInput, 0);
}

Additional context Commit made the change https://github.com/SiliconLabs/peripheral_examples/commit/4c12b259ecdae20667c91c5d6705a9c5b2299388 image

silabs-DenverL avatar Aug 16 '22 03:08 silabs-DenverL