C8051F226-TB Silicon Laboratories Inc, C8051F226-TB Datasheet - Page 34

no-image

C8051F226-TB

Manufacturer Part Number
C8051F226-TB
Description
BOARD PROTOTYPING W/C8051F226
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F226-TB

Contents
Board
Processor To Be Evaluated
C8051F22x and C8051F23x
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F226
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
C8051F2xx
34
Bits 7–6: UNUSED. Read = 00b; Write = don't care
Bit 5:
Bits 4–3: PRTSL1–0: Port Select Bits*.
Bits 2–0:PINSL2–0: Pin Select Bits
* Selecting a port for analog input does NOT default all pins of that port as analog input. After select-
ing a port for analog input, a pin must be selected using pin select bits (PINSL2–0). For example,
after setting the AMXEN to ‘1’, setting PRTSL1–0 to “11”, and setting PINSL2–0 to “100” P3.4 is
configured as analog input. All other Port 3 pins remain as GPIO pins. Also note that in order to use
a port pin as analog input, its input mode should be set to analog . Please see section 14.2.
R/W
Bit7
-
AMXEN enable
0: AMXEN disabled and port pins are unavailable for analog use.
1: AMXEN enabled to use/select port pins for analog use.
00: Port0 select to configure pin for analog input from this port.
01: Port1 select to configure pin for analog input from this port.
10: Port2 select to configure pin for analog input from this port.
11: Port3 select to configure pin for analog input from this port.
000: Pin 0 of selected port (above) to be used for analog input.
001: Pin 1 of selected port (above) to be used for analog input.
010: Pin 2 of selected port (above) to be used for analog input.
011: Pin 3 of selected port (above) to be used for analog input.
100: Pin 4 of selected port (above) to be used for analog input.
101: Pin 5 of selected port (above) to be used for analog input.
110: Pin 6 of selected port (above) to be used for analog input.
111: Pin 7 of selected port (above) to be used for analog input.
R/W
Bit6
-
SFR Definition 5.1. AMX0SL: AMUX Channel Select
AMXEN
R/W
Bit5
PRTSL1
R/W
Bit4
PRTSL0
Rev. 1.6
R/W
Bit3
PINSL2
R/W
Bit2
PINSL1
R/W
Bit1
PINSL0
R/W
Bit0
SFR Address:
Reset Value
00000000
0xBB

Related parts for C8051F226-TB