Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/06/12 05:41
Modified:
  04/06/12 05:42

Read: times


 
#187020 - Code Does not make sense
Responding to: ???'s previous message
See the instructions for posting source code: http://www.8052.com/faqs/120199

Yagnesh Mehta said:
unsigned short sync_time,alpha;

void PWM_module_init(void){ //initilization of PWM module
   
    PWM_module_ch0          //config as input capture& both rising and falling edge interrupt Enable
    PWM_module_ch1          //Output compare1
    PWM_Module_ch2          //output compare2
    Module_counter =0xFFFF; // free running
    PWM_module_freq         // 4MHz 
}


That does not make sense!

It will not even compile - you are, at least, missing several semicolons!

If PWM_module_ch0, etc, are not functions - then what are they?
And how do they achieve what the comments say??

List of 18 messages in thread
TopicAuthorDate
Gate pulse for anti paraller Thyristor configuration            01/01/70 00:00      
   Inductive VS resistive characteristics            01/01/70 00:00      
    :( not even single person is interested in this post......            01/01/70 00:00      
      what?            01/01/70 00:00      
      Power Electronics            01/01/70 00:00      
   Thank for Replay and your interest            01/01/70 00:00      
   Code            01/01/70 00:00      
      Established Synchronization But.......            01/01/70 00:00      
      ?            01/01/70 00:00      
         Not function            01/01/70 00:00      
      Code Does not make sense            01/01/70 00:00      
         for understanding only....            01/01/70 00:00      
            Confusion, more like            01/01/70 00:00      
         Formating ....            01/01/70 00:00      
            It is always, but especially when ....            01/01/70 00:00      
         Problem Resolved            01/01/70 00:00      
            Please share            01/01/70 00:00      
               Ya sure....            01/01/70 00:00      

Back to Subject List