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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/04/03 18:59
Read: times


 
#47538 - RE: T2 compare or byte overflow in 80C592?
Responding to: ???'s previous message
Would that be sufficient?


void timer2CM2_ISR (void) interrupt 13
{
CMH2 += 0x01; //increament CM2 HIGH byte by 1(256)
TM2IR &=~0x40; //Clear interrupt flag
if (CMH2= 0xFF)
CMH2= 0x00;
}

And initializing in the main

CML2=0xff;
CMH2=0x00;

List of 6 messages in thread
TopicAuthorDate
T2 compare or byte overflow in 80C592?            01/01/70 00:00      
   RE: T2 compare or byte overflow in 80C592?            01/01/70 00:00      
      RE: T2 compare or byte overflow in 80C592?            01/01/70 00:00      
   RE: T2 compare or byte overflow in 80C592?            01/01/70 00:00      
      RE: T2 compare or byte overflow in 80C592?            01/01/70 00:00      
         RE: T2 compare or byte overflow in 80C592?            01/01/70 00:00      

Back to Subject List