Panasonic MN103S CRT Television User Manual


 
Chapter 3
Microcomputer Basics 1
8-bit timer operation III41
Flowchart
main ()
Set P44 output
Set count clock source
Initialize CPU
Set the base register
Set Timer 1 input pin
Select Timer 1 normal operation
Set an interrupt level
Enable the interrupt
Start event
Initialize Timer 1
int_timer1 ()
Binary counter underflow
P44 state
Low (LED off)
High output (LED on)
High (LED on)
Low output (LED off)
END