em78p5830aa ELAN Microelectronics Corp, em78p5830aa Datasheet - Page 15

no-image

em78p5830aa

Manufacturer Part Number
em78p5830aa
Description
8-bit Micro-controller 8-bit Micro-controller
Manufacturer
ELAN Microelectronics Corp
Datasheet
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
R6 (PORT6 I/O data, SPI data buffer)
PAGE0 (PORT6 I/O data register)
PAGE1 : (undefined) not allowed to use
PAGE2 (SPI data buffer)
PAGE3 (DT1L: the Least Significant Byte ( Bit 7 ~ Bit 0) of Duty Cycle of PWM1)
R7 (PORT7 I/O data, Data RAM bank)
PAGE0 (PORT7 I/O data register)
PAGE1 (Data RAM bank selection bits)
PWM1[7] PWM1[6] PWM1[5] PWM1[4] PWM1[3] PWM1[2] PWM1[1] PWM1[0]
R/W-0
SPIB7
Bit0 ~Bit1: Unused register. These two bits are not allowed to use.
Bit2 ~ Bit7 (P62 ~ P67) : 6-bit PORT6(2~7) I/O data register
User can use IOC register to define input or output each bit.
R/W
R/W
Bit 6 (PWM1E): PWM1 enable bit
Bit 7 (PWM2E): PWM2 enable bit
P67
Bit 0 ~ Bit 7 (SPIB0 ~ SPIB7) : SPI data buffer
Bit 0 ; Bit3 ~ Bit 7 (P73 ~ P76) : 5-bit PORT7 I/O data register
Bit1~2, Bit 7: Unused register. These three bits are not allowed to use.
Bit 0(RAM_B0) : Data RAM bank selection bits
Bit 1 : (undefined) not allowed to use. This bit must clear to 0.
X
7
7
If you write data to this register, the data will write to SPIW register. If you read this data, it will read the
data from SPIR register. Please refer to figure7
7
A specified value keeps the output of PWM1 to stay at high until the value matches with TMR1.
7
User can use IOC register to define input or output each bit.
Each bank has address 0 ~ address 255 which is total 256 (0.25k) bytes RAM size.
Data RAM bank selection : (Total RAM = 0.5K)
7
-
-
RAM_B0
0
1
0
1
0
1
R/W-0
SPIB6
PWM1 is off (default value), and its related pin carries out the PC1 function;
PWM1 is on, and its related pin will be set to output automatically.
PWM2 is off (default value), and its related pin carries out the PC2 function.
PWM2 is on, and its related pin will be set to output automatically.
R/W
R/W
R/W
P76
P66
6
6
6
6
6
-
RAM bank
Bank0
Bank1
R/W-0
SPIB5
R/W
R/W
R/W
AD9
P65
P75
R
5
5
5
5
5
R/W-0
SPIB4
R/W
R/W
R/W
AD8
P64
P74
R
4
4
4
4
4
R/W-0
SPIB3
R/W
R/W
R/W
P63
P73
3
3
3
3
3
-
13
R/W-0
SPIB2
ADRES
R/W
R/W
P62
R/W-0
X
2
2
2
2
-
2
R/W-0
SPIB1
R/W
X
X
1
1
1
1
-
-
R/W-0
1
0
R/W-0
SPIB0
R/W
R/W
P70
X
0
0
0
0
-
8-bit Micro-controller
RAM_B0
R/W-0
0
12/1/2004 V1.6
EM785830AA

Related parts for em78p5830aa