Gpio Register Description - Siemens Ertec 400 Manual

Enhanced real-time ethernet controller
Table of Contents

Advertisement

4.2.2

GPIO Register Description

GPIO_IOCTRL
Description
Configuration register for general purpose I/O (31:0)
Bit No.
Name
31 - 0
GPIO_IOCTRL[31:0]
GPIO_ OUT
Description
Output register for general purpose I/O (31:0)
Bit No.
Name
31..0
GPIO_OUT[31:0]
GPIO_IN
Description
Input register for general purpose I/O (31:0)
Bit No.
Name
31..0
GPIO_IN[31:0]
GPIO_PORT_MODE_L
Description
Configuration register for GPIO Port 0 to 15
Function assignment:
00 = Function 0; 01 = Function 1; 10 = Function 2; 11 = Function 3
Bit No.
Name
1:0
GPIO0_PORT_MODE
3:2
GPIO1_PORT_MODE
5:4
GPIO2_PORT_MODE
7:6
GPIO3_PORT_MODE
9:8
GPIO4_PORT_MODE
11:10
GPIO5_PORT_MODE
13:12
GPIO6_PORT_MODE
15:14
GPIO7_PORT_MODE
17:16
GPIO8_PORT_MODE
19:18
GPIO9_PORT_MODE
21:20
GPIO10_PORT_MODE Port GPIO(10);
23:22
GPIO11_PORT_MODE Port GPIO(11);
25:24
GPIO12_PORT_MODE Port GPIO(12);
27:26
GPIO13_PORT_MODE Port GPIO(13);
29:28
GPIO14_PORT_MODE Port GPIO(14);
31:30
GPIO15_PORT_MODE Port GPIO(15);
Copyright © Siemens AG 2010. All rights reserved.
Technical data subject to change
W/R
Addr.: 0x4000_2500
Description
0 : GPIOx is output
1: GPIOx is input
x = Bit 0 to 31
W/R
Addr.: 0x4000_2504
Description
0: GPIO outputx = 0, 1: GPIO outputx = 1
R
Addr.: 0x4000_2508
Description
0: GPIO inputx = 0, 1: GPIO inputx = 1
W/R
Addr.: 0x4000_250C
Description
Port GPIO(0);
Port GPIO(1);
Port GPIO(2);
Port GPIO(3);
Port GPIO(4);
Port GPIO(5);
Port GPIO(6);
Port GPIO(7);
Port GPIO(8);
If the ETM9 module is activated via debug SW and it is set as a 4- to 8-bit
wide ETM port, function 3 (ETM:TRACEPKT(0) is set regardless of the
value of GPIO_PORT_MODE_L-bits (17:16).
This applies analogously to GPIO_PORT_MODE_L-bits (23:18) and ETM
pins TRACEPKT(3:1).
Port GPIO(9);
See note for bits(17:16)
See note for bits(17:16)
See note for bits(17:16)
Page
Default: 0xFFFF_FFFF
Default: 0x0000_0000
Default: Port assignment
Default: 0x0000_0000
36
ERTEC 400 Manual
Version 1.2.2

Advertisement

Table of Contents
loading

Table of Contents