Silicon Laboratories C8051F341, C8051F347 SFR Definition 7.5. CPT1MX Comparator1 MUX Selection

Models: C8051F346 C8051F347 C8051F344 C8051F342 C8051F343 C8051F345 C8051F340 C8051F341

1 282
Download 282 pages 2.89 Kb
Page 66
Image 66

C8051F340/1/2/3/4/5/6/7

SFR Definition 7.5. CPT1MX: Comparator1 MUX Selection

R/W

 

R/W

 

R/W

 

R/W

 

R/W

R/W

 

R/W

R/W

-

 

CMX1N2

 

CMX1N1

CMX1N0

 

-

CMX1P2

CMX1P1

CMX1P0

Bit7

 

Bit6

 

Bit5

 

Bit4

 

Bit3

Bit2

 

Bit1

Bit0

Bit7:

UNUSED. Read = 0b, Write = don’t care.

 

 

 

 

 

 

Bits6–4: CMX1N2–CMX1N0: Comparator1 Negative Input MUX Select.

 

 

 

 

These bits select which Port pin is used as the Comparator1 negative input.

 

 

 

 

 

 

 

 

 

 

 

 

CMX1N2

 

CMX1N1

CMX1N0

 

 

Negative Input

Negative Input

 

 

 

 

 

 

 

 

 

 

 

(32-pin Package)

(48-pin Package)

 

 

 

0

 

0

0

 

 

P1.3

 

 

P2.3

 

 

 

 

0

 

0

1

 

 

P1.7

 

 

P3.1

 

 

 

 

0

 

1

0

 

 

P2.3

 

 

P4.0

 

 

 

 

0

 

1

1

 

 

P2.7

 

 

P4.6

 

 

 

 

1

 

0

0

 

 

P0.5

 

 

P1.2

 

 

 

Bit3:

UNUSED. Read = 0b, Write = don’t care.

 

 

 

 

 

 

Bits2–0: CMX1P1–CMX1P0: Comparator1 Positive Input MUX Select.

 

 

 

 

These bits select which Port pin is used as the Comparator1 positive input.

 

 

 

 

 

 

 

 

 

 

 

 

CMX1P2

 

CMX1P1

CMX1P0

 

 

Positive Input

 

Positive Input

 

 

 

 

 

 

 

 

 

 

(32-pin Package)

(48-pin Package)

 

 

0

 

0

0

 

 

P1.2

 

 

P2.2

 

 

 

 

0

 

0

1

 

 

P1.6

 

 

P3.0

 

 

 

 

0

 

1

0

 

 

P2.2

 

 

P3.7

 

 

 

 

0

 

1

1

 

 

P2.6

 

 

P4.5

 

 

 

 

1

 

0

0

 

 

P0.4

 

 

P1.1

 

 

 

Reset Value

00000000

SFR Address:

0x9E

Note that the port pins used by the comparator depend on the package type (32-pin or 48-pin).

66

Rev. 0.5

Page 66
Image 66
Silicon Laboratories C8051F341, C8051F347 SFR Definition 7.5. CPT1MX Comparator1 MUX Selection, CMX1N2 CMX1N1 CMX1N0