Electronic Components Datasheet Search
  English  ▼

X  

EM78P257AP Datasheet(PDF) 61 Page - ELAN Microelectronics Corp

Part # EM78P257AP
Description  8-BIT MICROCONTROLLER
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  EMC [ELAN Microelectronics Corp]
Direct Link  http://www.emc.com.tw
Logo EMC - ELAN Microelectronics Corp

EM78P257AP Datasheet(HTML) 61 Page - ELAN Microelectronics Corp

Back Button EM78P257AP Datasheet HTML 57Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 58Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 59Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 60Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 61Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 62Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 63Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 64Page - ELAN Microelectronics Corp EM78P257AP Datasheet HTML 65Page - ELAN Microelectronics Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 61 / 91 page
background image
EM78P257
OTP ROM
This specification is subject to change without prior notice.
07.27.2004 (V1.4)
61
LSB Counter
MSB Counter
Loaded by software with the number of pulses required in a pulse burst; loading ’0’ is not
allowed.
IRE
Infrared Remote Enable bit
IR OUT
IR output port.IIROUT = 20mA, when the output voltage drops to 2.4V, at Vdd = 5V
2.1 Operation of the Hardware Modulator
1. Enable IRE , set parameter for IR (RD )
2. Load Low-time register (IOC91)
3. Load High-time register (IOCA1)
4. Load MSB and LSB Counter register (IOC61, IOC71)
The Low-time, High-time, MSB Counter, and LSB Counter register are loaded by software. The
following instructions is an example for generating five pulses train:
MOV A,@0B00001000
MOV 0x0D,A
;(Enable IR)
MOV A, @0x10
IOW 0x08
;(Enable TCCBH)
BS 0x03,6
;(Select control register segment 1)
MOV A,@0x10
IOW 0x09
;(Set Low-Time Register=10h)
MOV A,@0x20
IOW 0x0A
;(Set High-Time Register=20h)
MOV A,@0x5
;(Set pulse number = 5
=> LSB=5, MSB=0)
IOW 0x06
;LSB=5
MOV A,@0x00
IOW 0x07
;MSB=0
As soon as the LSB Counter Register is loaded, the Hardware Modulator is started and IR OUT
becomes active (LOW). Simultaneously, the contents of the Low-time register are loaded into the
Pulse Timer, which is then decremented by ‘1’ every oscillator clock cycle. When the value held in
the Pulse Timer becomes zero the contents of the LSB & MSB Counter are decremented by ‘1’ and
IR OUT become inactive (HIGH).
The contents of the High-time register are now loaded into the Pulse Timer which is decremented
by ‘1’ every oscillator clock cycle. When the value held in the Pulse Timer becomes zero, IR OUT
becomes active (LOW). One pulse cycle has now been generated.
The process of alternately loading the contents of the Low-time register and High-time register into
the Pulse Timer continues until the contents of the LSB & MSB Counter become zero. When this
occurs TCCBIF is asserted; an interrupt to the CPU is generated and the interrupt flag is raised
stopping the operation of the Hardware Modulator (If TCCBIF want to be clear ,the IR must be
disable firstly). The programmed pulse train has now been generated. If the Hardware Modulator



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com