EM78P468LAQ EMC [ELAN Microelectronics Corp], EM78P468LAQ Datasheet - Page 54

no-image

EM78P468LAQ

Manufacturer Part Number
EM78P468LAQ
Description
8-BIT Microcontroller
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
EM78P468L
8-BIT Microcontroller
50 •
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)
source clock 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
pulde width timer (RC)
SET High pulse width timer, Low pulse width timer
STRAT
(a) IR application
END
Fig. 27 IR/PWM Function Enable Flowchart
(This specification is subject to change without further notice)
SET P5.7 to OUTPUT state (IOC 50)
SET P5.7 for IR/PWM Function Output Pin (RE)
source clock and prescaler (IOCA1)
High pulse width timer (IOD0), Low pulse width timer
(IOCE0)preset value
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 pulde width
timer (RC)
SET High pulse width timer, Low pulse width timer
(b) PWM application
Product Specification (V1.0) 03.15.2006
STRAT
END

Related parts for EM78P468LAQ