DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

EM78P569 Ver la hoja de datos (PDF) - ELAN Microelectronics

Número de pieza
componentes Descripción
Fabricante
EM78P569
EMC
ELAN Microelectronics EMC
EM78P569 Datasheet PDF : 58 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
EM78P569
8-bit OTP Micro-controller
For VERSEL = 0 :
7
6
5
4
3
2
1
0
MULY7 MULY6 MULY5 MULY4 MULY3 MULY2 MULY1 MULY0
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
Bit 0 ~ Bit 7 (MULY0 ~ MULY7) : Multiplicand Y data buffer of multiplier
The multiplier can make a multiplication with X*Y. The multiplicator data buffer X is ACC and
the multiplicand data buffer Y is RB PAGE2 The maximum 24 bit multiplication result MR will be stored in RC
PAGE2 ~ RE PAGE2. That is to say, MR = X*Y.
For VERSEL = 1 :
At this status, RB page2 defined to multiplicand Y data buffer and Data RAM address buffer.
Example 1 : Read continue data from continuous data RAM address:
MOV A , @0b00111111
AND 0x03 , A
BS 0x03 , 7 ; Set R register to page 2
CLR 0x0B ; Set RAM address = 0
BS 0x0A , 4 ; Enable address auto-increase function
BC 0x03 , 7
BS 0x03 , 6 ; Set R register to page 1
MOV A , @0b11111100
AND 0x07 , A ; Set RAM bank 0
MOV A , 0x09 ; read Data RAM address 0x00’s data
MOV A , 0x09 ; read Data RAM address 0x01’s data
MOV A , 0x09 ; read Data RAM address 0x02’s data
:
:
Example 2 : Continuous multiplication and addition operation.
MOV A , @0b00111111
AND 0x03 , A
BS 0x03 , 7 ; Set R register to page 2
CLR 0x0C
CLR 0x0D
CLR 0x0E ; Clear MR = 0
BS 0x0A , 5 ; enable multiplier’s indirect address mode
BS 0x0A , 4 ; Enable address auto-increase function
CLR 0x0B ;Set address = 0
MOV A , @0x55
INT A
; multiplication instruction, operate MR 0x55(A) x (address 0’ data)
INT A
; MR 0x55(A) x (address 1’ data) + MR
INT A
; MR 0x55(A) x (address 2’ data) + MR
:
:
PAGE3 (PRD2: Period of PWM2)
7
6
5
4
3
2
1
0
PRD2[7] PRD2[6] PRD2[5] PRD2[4] PRD2[3] PRD2[2] PRD2[1] PRD2[0]
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
The content of this register is a period (time base) of PWM2. The frequency of PWM2 is the reverse of the
period.
RC (PORTC I/O data, Counter1 data, PWM1 duty latch)
PAGE0 (PORT9 I/O data register)
7
6
5
4
3
2
1
0
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
R/W
R/W
R/W
R/W R/W
R/W
R/W
R/W
Bit 0 ~ Bit 7 (PC0 ~ PC7) : 8-bit PORTC(0~7) I/O data register
User can use IOC register to define input or output each bit.
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
23
8/19/2004 V4.4

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]