Download Print this page

Panasonic MICROCOMPUTER MN103S Application Note page 17

Panasonic laptop - computer user manual
Hide thumbs Also See for MICROCOMPUTER MN103S:

Advertisement

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

Advertisement

loading