em78p468l ELAN Microelectronics Corp, em78p468l Datasheet - Page 50

no-image

em78p468l

Manufacturer Part Number
em78p468l
Description
8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet
EM78P468N/EM78P468L
8-Bit Microcontroller
44 •
IR/PWM Function Enable Flowchart
SET P5.7 to Output state (IOC 50)
SET P5.7 for IR/PWM Function Output Pin (RE)
SET Counter 2 clock source and prescaler (IOC91)
clock source and prescaler (IOCA1)
SET Counter 2 (IOC0) , High pulse width timer
(IOD0) , Low pulse width timer (IOCE0) preset value
Enable IR (RE)
HF="1", and IRE="1"
Enable HPWT and LPWT Interrupt
Set IOCF0 and ENI instruction
Enable Counter 2, High pulse width timer and Low
pulse width timer (RC)
SET High pulse width timer, Low pulse width timer
(a) IR application
Start
END
Fig. 27 IR/PWM Function Enable Flowchart
(This specification is subject to change without further notice)
(IOCE0) preset value
SET P5.7 to Output state (IOC 50)
SET P5.7 for IR/PWM Function Output Pin (RE)
clock source and prescaler (IOCA1)
High pulse width timer (IOD0) , Low pulse width timer
Enable IR (RE)
HF="0", and IRE="1"
Enable HPWT and LPWT Interrupt
Set IOCF0 and ENI instruction
Enable high pulse width timer and Low pulse width
Timer (RC)
SET High pulse width timer, Low pulse width timer
Product Specification (V1.5) 02.15.2007
(b) PWM application
Start
END

Related parts for em78p468l