Convert pwm function to Io out function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Convert pwm function to Io out function

485 Views
seunghwan_jeon
Contributor II

What should I do when I set the function to PWM and change it to I/O whenever necessary and want to use it as a PWM function again?

Tags (1)
0 Kudos
Reply
1 Reply

474 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@seunghwan_jeon

Can you tell which part number devices and SDK you're using? 

If you using S32K1xx series MCUs and RTM, you can take a look at this function:

PINS_DRV_SetMuxModeSel();

when you want to change the PWM -> GPIO or GPIO->PWM, you can use this function to change the PIN mux.

0 Kudos
Reply