数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MPR121 数据表(PDF) 45 Page - Freescale Semiconductor, Inc

部件名 MPR121
功能描述  Proximity Capactive touch Senosr controller
PDF  57 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  FREESCALE [Freescale Semiconductor, Inc]
网页  http://www.freescale.com
标志 FREESCALE - Freescale Semiconductor, Inc

MPR121 数据表(HTML) 45 Page - Freescale Semiconductor, Inc

Back Button MPR121 Datasheet HTML 41Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 42Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 43Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 44Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 45Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 46Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 47Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 48Page - Freescale Semiconductor, Inc MPR121 Datasheet HTML 49Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 57 page
background image
MPR121
Sensors
Freescale Semiconductor
45
The GPIO system allows the GPIO pins to be set as input or output. When an EN bit sets, the corresponding GPIO pin is
enabled and the function is configured by CTL0, CTL1 and DIR bits. When the port is used as input, it can be configured as normal
input or with additional internal pull-down or pull-up for input port. For output configuration, it can be push/pull or open drain.
DAT[7:0]: Data Register
When a GPIO is as output, the GPIO port outputs the bit level of this register. The output level toggle holds on any electrode
charging and AD conversion and the level transition will be occurred after the AD conversion. Reading this register returns the
content of the DAT register (not a level of the port).
When a GPIO is as input, reading this register returns latched input level of the corresponding port (not contents of the DAT
register). A write changes content of the register, but not affect to the input function.
SET[7:0]: Set Data Register
Writing a “1” to bits in this register will set them in the Data Register.
CLR[7:0]: Clear Data Register
Writing a “1” to bits in this register will clear them in the Data Register.
TOG[7:0]: Toggle Data Register
Write a bit with “1” to the GPIO Data Set Register, GPIO Data Clear Register, and GPIO Toggle Register set/clear/toggle con-
tents of the corresponding DAT bit. Write “0” has no meaning. Using of those registers allows any individual port(s) to be able
individually set, cleared, or toggled without affecting other ports. Reading those register returns as same as DAT register reading.
LED DRIVER
Each GPIO pin has LED driver capability which can source up to 12 mA. When GPIO is used to driver LED, connect the GPIO
output to an LED forward biased with its cathode to GND so that GPIO output high lights the LED. Place a current limiting resistor
is series with LED to limit the current below 12 mA (refer to the typical application circuit).
When LED dimming control is needed, the PWM control register can be set to get the desired dimming control. Alternatively,
the PWM can also be used to drive the beeper.
EN
DIR
CTL[0:1]
DESCRIPTION
0
X
XX
GPIO function is disabled. Port is high-z state.
1
0
00
GPIO port becomes input port.
1
0
10
GPIO port becomes input port with internal pull-down.
1
0
11
GPIO port becomes input port with internal pull-up.
1
0
01
Not defined yet (as same as CTL = 00).
1
1
00
GPIO port becomes CMOS output port.
1
1
11
GPIO port becomes high side only open drain output port for LED driver.
1
1
10
GPIO port becomes low side only open drain output port.
1
1
01
Not defined yet (as same as CTL = 00).
Table 45. PWM_[3:0}: PWM Duty Control Registers
Name
Address
D7
D6
D5
D4
D3
D2
D1
D0
PWM 0
0x81
PWM1[3]
PWM1[2]
PWM1[1]
PWM1[0]
PWM0[3]
PWM0[2]
PWM0[1]
PWM0[0]
PWM 1
0x82
PWM3[3]
PWM3[2]
PWM3[1]
PWM3[0]
PWM2[3]
PWM2[2]
PWM2[1]
PWM2[0]
PWM 2
0x83
PWM5[3]
PWM5[2]
PWM5[1]
PWM5[0]
PWM4[3]
PWM4[2]
PWM4[1]
PWM4[0]
PWM 3
0x84
PWM7[3]
PWM7[2]
PWM7[1]
PWM7[0]
PWM6[3]
PWM6[2]
PWM6[1]
PWM6[0]



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com