1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Pwm module clarification

Discussion in 'Microcontrollers' started by elecLear78, Sep 14, 2017.

  1. elecLear78

    elecLear78 Member

    Jul 16, 2013
    I am using dspic33ev family microchip controller. I have one doubt in pwm module. Suppose in the initialization routine i configure each pin to be controlled by pwm instead of IO and then i enabled the pwm module. In my main application i will be controlling the legs using pdc registers. Suppose in one of the conditions if i make pwm disabled using PTCON register. Will the legs be immediately become IO or still they remain under the control of PWM? Please advice.

Share This Page