em78f644nso28s ELAN Microelectronics Corp, em78f644nso28s Datasheet - Page 47

no-image

em78f644nso28s

Manufacturer Part Number
em78f644nso28s
Description
Flash Series 8-bit Microcontroller
Manufacturer
ELAN Microelectronics Corp
Datasheet
Product Specification (V1.0) 05.05.2010
(This specification is subject to change without further notice)
6.1.37 Bank 3 R7 (CMPCON: Comparator 2 Control Register and
Bit 7 ~ Bit 5:
Bit 4 (CPOUT2): The result of Comparator 2 output
Bit 3 ~ Bit 2 (COS21 ~ COS20): Comparator 2 select bits
Bit 1 (PWMAE): PWMA enable bit.
Bit 0 (PWMBE): PWMB enable bit.
6.1.38 Bank 3 R8 (PWMCON: PWMA/B Lower 2 Bits of the Period
Bits 7 ~ 6 (PRDA [1], PRDA [0]): Least Significant Bits of PWMA Period Cycle.
Bits 5 ~ 4 (DTA [1], DTA [0]):
Bits 3 ~ 2 (PRDB [1], PRDB [0]): Least Significant Bits of PWMB Period Cycle.
Bits 1 ~ 0 (DTB [1], DTB [0]):
PRDA [1]
COS21
Bit 7
Bit 7
-
0
0
1
1
For F642/542N, Bit 1 & Bit 0 are unused. Set to “0” all the time.
For F641/541N, Bit 1 & Bit 0 are unused. Set to “0” all the time.
PWMA/B Control Register)
PRDA [0]
COS20
Bit 6
Bit 6
0
1
0
1
-
0: PWMA is off and its related pin carries out the P75 function
1: PWMA is on, and its related pin is automatically set to output.
0: PWMB is off and its related pin carries out the P76 function
1: PWMB is on, and its related pin is automatically set to output.
Not used, set to “0” all the time
For F642/542N, F641/541N, this register is reserved.
(default).
(default).
Comparator 2 is not used. P80 acts as normal I/O pin
Act as a Comparator 2 and P80 acts as normal I/O pin
Act as a Comparator 2 and P80 acts as Comparator 2 output pin (CO)
Not used
DTA [1]
and Duty Control Register)
Bit 5
Bit 5
-
CPOUT2
EM78F648/644/642/641/548/544/542/541N
DTA [0]
Least Significant Bits of PWMA Duty Cycle.
Least Significant Bits of PWMB Duty Cycle.
Bit 4
Bit 4
NOTE
NOTE
Function Description
PRDB [1]
COS21
Bit 3
Bit 3
PRDB [0]
COS20
Bit 2
Bit 2
8-Bit Microcontroller
PWMAE
DTB [1]
Bit 1
Bit 1
DTB [0]
PWMBE
Bit 0
Bit 0
• 37

Related parts for em78f644nso28s