Mongkol.t
Newbie
I used the holtek and the current microcontroller is life off and we plan to change to use HT66F004. Can we use the TBC for interupt both EMI and timer? If No, please advise.
Thanks
Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Init_timer proc | ||||
mov a,00000000B | ; TBON (bit 7) = 0 TBCK (bit6)=0, TB02..TB00) = 000 | |||
mov TBC,a ret | ||||
set TBC.7 | ; TBON(bit 7) = 1,start timer | |||