EM78468AQ EMC [ELAN Microelectronics Corp], EM78468AQ Datasheet - Page 55

no-image

EM78468AQ

Manufacturer Part Number
EM78468AQ
Description
8-BIT Microcontroller
Manufacturer
EMC [ELAN Microelectronics Corp]
Datasheet
Product Specification (V1.1) 04.11.2005
(This specification is subject to change without further notice)
IR/PWM function enable flowchart
Fcarrier
HF
IRE
IROUT
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
start
low-pulse width
STRAT
END
(a) IR application
Fig. 26 LGP=1, IROUT Pin Output Waveform
Fig. 27 IR/PWM Function Enable Flowchart
Low-pulse width
low-pulse width
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
Always high-level
IR disable
STRAT
END
high-pulse width
8-BIT Microcontroller
EM78468
• 51

Related parts for EM78468AQ