IBM MiEM78P468L Product Specification page 50

Ibm 8-bit microcontroller product specification
Table of Contents

Advertisement

EM78P468N/EM78P468L
8-Bit Microcontroller
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)
SET High pulse width timer, Low pulse width timer
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)
(a) IR application
44 •
Start
END
Fig. 27 IR/PWM Function Enable Flowchart
Start
SET P5.7 to Output state (IOC 50)
SET P5.7 for IR/PWM Function Output Pin (RE)
SET High pulse width timer, Low pulse width timer
clock source 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 pulse width
Timer (RC)
END
(b) PWM application
Product Specification (V1.5) 02.15.2007
(This specification is subject to change without further notice)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Miem78p468n

Table of Contents