MDASM of MIOS ( in mpc565 )

praveen <[email protected]> Tue, 4 Jul 2006 09:16:22 -0700 (PDT)
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Hi All ,
            In MPWMSM module i am  setting duty cycle by  using the following 

                                          Pulse register

        Duty cycle (Ratio)  =  -----------------------

                                          Period register

For 50% duty cycle i set   Pulse register->     0x0001
                                       Period Register -> 0x0002  
 

But In MDASM module i am not sure about how to set the 50% duty 
cycle.

As per the MPC565 Manual it is said it can be set from 0% to 100% but no 
where it is mentioned 

how to set the duty cycle for a particular value in  MDASM ?
   is there any specific register to be set for this ?
   
  ---------------------------------
  Praveen

 		
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/