265/317
9 - A Carrier-current System for domestIc Remote Control
case 29 :
case 31 :
case 33 :
if ( ( TempHouseCode&1)!=0)
TACR1 |= ( 1 << OLVL1 ) ; /* Validate pulse for next
interrupt */
else
TACR1 &= ~( 1 << OLVL1 ) ; /* Invalidate pulse for next
interrupt */
break ;
case 6 :
case 8 :
case 10 : /* Transmit the complement of one of the four bits
of house code */
case 12 :
case 28 :
case 30 :
case 32 :
case 34 :
if ( ( TempHouseCode&1)==0)
TACR1 |= ( 1 << OLVL1 ) ; /* Validate pulse for next
interrupt */
else
TACR1 &= ~( 1 << OLVL1 ) ; /* Invalidate pulse for next
interrupt */
TempHouseCode >>= 1 ; /* Finished with this bit. Ready for
next bit */
break ;
case 13 :
case 15 :
case 17 : /* Transmit one of the five bits of Key code */
case 19 :
case 21 :
case 35 :
case 37 :
case 39 :
case 41 :
case 43 :
if ( ( TempKeyCode&1)!=0)
TACR1 |= ( 1 << OLVL1 ) ; /* Validate pulse for next
interrupt */
else
TACR1 &= ~( 1 << OLVL1 ) ; /* Invalidate pulse for next
interrupt */
break ;
case 14 :
case 16 :
case 18 : /* Transmit the complement of one of the five bits
of Key code */
case 20 :
case 22 :