52
Document # 001-20559 Rev. *D
0,03h
13.2.4
PRTxDM2
Port Drive Mode Bit 2 Register
This register is one of three registers whose combined value determines the unique Drive mode of each bit in a GPIO port.
In this register, there are eight possible drive modes for each port pin. Three mode bits are required to select one of these
modes, and these three bits are spread into three different registers (the
, and the PRTxDM2 register). The bit position of the affected port pin (for example, Pin[2] in Port 0) is the
same as the bit position of each of the three drive mode register bits that control the Drive mode for that pin (for example:
PRT0DM0[2], PRT0DM1[2], and PRT0DM2[2]). The three bits from the three registers are treated as a group. These are
referred to as DM2, DM1, and DM0, or together as DM[2:0].
All Drive mode bits are shown in the sub-table below ([
2
10] refers to the combination (in order) of bits in a given bit position);
however, this register only controls the
of the Drive mode.
For additional information, refer to the
“Register Definitions” on page 8
in the GPIO chapter.
7:0
Drive Mode 2[7:0]
Bit 2 of the Drive mode, for each pin of an 8-bit GPIO port.
[210]
Pin Output High
Pin Output Low
Notes
0
00b
Strong
Resistive
0
01b
Strong
Strong
0
10b
High Z
High Z
Digital input enabled.
0
11b
Resistive
Strong
1
00b
Slow + strong
High Z
1
01b
Slow + strong
Slow + strong
1
10b
High Z
High Z
Reset state. Digital input disabled for zero power.
1
11b
High Z
Slow + strong
I2C Compatible mode.
Note
A bold digit, in the table above, signifies that the digit is used in this register.
Individual Register Names and Addresses:
0,03h
PRT0DM2 : 0,03h
PRT1DM2 : 0,07h
PRT2DM2 : 0,0Bh
PRT3DM2 : 0,0Fh
7
6
5
4
3
2
1
0
Access : POR
RW : FF
Bit Name
Drive Mode 2[7:0]
Bit
Name
Description
Содержание PSoC CY8C23533
Страница 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Страница 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Страница 24: ...24 Document 001 20559 Rev D Section A Overview ...
Страница 30: ...30 Document 001 20559 Rev D Pin Information ...
Страница 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Страница 60: ...60 Document 001 20559 Rev D RAM Paging ...
Страница 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Страница 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Страница 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Страница 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Страница 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Страница 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Страница 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Страница 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Страница 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Страница 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Страница 296: ...232 Document 001 20559 Rev D Analog Interface ...
Страница 304: ...240 Document 001 20559 Rev D Analog Array ...
Страница 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Страница 312: ...248 Document 001 20559 Rev D Analog Reference ...
Страница 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Страница 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Страница 374: ...310 Document 001 20559 Rev D I2C ...
Страница 400: ...336 Document 001 20559 Rev D Section G Glossary ...