Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
72
Bit
Name
Access
Description
31:
GPIO_PWIDTH_A
Reserved
Read as zero
Reserved
GPIO_PWIDTH_A
–1:0
Port A Data Register
R/W
Values written to this register are output on the I/O signals for Port
A if the corresponding data direction bits for Port A are set to
Output mode and the corresponding control bit for Port A is set to
Software mode. The value read back is equal to the last value
written to this register.
Reset Value:
GPIO_SWPORTA_RESET
8.3.3.2
gpio_swporta_ddr
Name:
Port A Data Direction Register
Size:
GPIO_PWIDTH_A
Address offset
: 0x04
Read/write access
: read/write
Bit
Name
Access
Description
31:
GPIO_PWIDTH_A
Reserved
Read as zero
Reserved
GPIO_PWIDTH_A
–1:0
Port A Data Direction Register
R/W
Values written to this register independently control the
direction of the corresponding data bit in Port A. The
default direction can be configured as input or output
after system reset through the GPIO_DFLT_DIR_A
parameter.
0 – Input (default)
1 – Output
Reset Value
:
GPIO_DFLT_DIR_A
8.3.3.3
gpio_swporta_ctl
Name:
Port A Data Source
Size
:
1 bit wide if GPIO_PORTA_SINGLE_CTL = 1
GPIO_PWIDTH_A
bits wide if GPIO_PORTA_SINGLE_CTL = 0
Address offset
: 0x08
Read/write access
: read/write
Bit
Name
Access Description
0
-or-
0:
GPIO_PWIDTH_A
-1
(See above)
Port A Data Source
R/W
The data and control source for a signal can come from either software or
hardware; this bit selects between them. The default source is configurable
through the GPIO_DFLT_SRC_A configuration parameter.
0 – Software mode (default)
1 – Hardware mode
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03