CS5530 Datasheet

  • CS5530

  • National Semiconductor [Geode⑩ CS5530 I/O Companion Multi-...

  • 3339.45KB

  • NSC

扫码查看芯片数据手册

上传产品规格书

PDF预览

Geode鈩?CS5530
Functional Description
(Continued)
3.4.3.4 General Purpose I/O Pins
The CS5530 provides up to eight GPIO (general purpose
I/O) pins. Five of the pins (GPIO[7:4] and GPIO1) have
alternate functions. Table 3-30 shows the bits used for
GPIO pin function selection.
Each GPIO pin can be configured as an input or output.
GPIO[7:0] can be independently configured to act as
edge-sensitive SMI events. Each pin can be enabled and
configured to be either positive-edge sensitive or nega-
tive-edge sensitive. These pins then cause an SMI to be
generated when an appropriate edge condition is
detected. The power management status registers indi-
cate that a GPIO external SMI event has occurred.
The GPIO Pin Direction Register 1 (F0 Index 90h) selects
whether the GPIO pin is an input or output. The GPIO Pin
Data Register 1 (F0 Index 91h) contains the direct values
of the GPIO pins. Write operations are valid only for bits
defined as output. Reads from this register will read the
last written value if the pin is an output.
GPIO Control Register 1 (F0 Index 92h) configures the
operation of the GPIO pins for their various alternate func-
tions. Bits [5:3] set the edge sensitivity for generating an
SMI on the GPIO[2:0] (input) pins respectively. Bits [2:0]
enable the generation of an SMI. Bit 6 enables GPIO6 to
act as the lid switch input. Bit 7 determines which edge
transition will cause the General Purpose Timer 2 (F0
Index 8Ah) to reload.
Table 3-31 shows the bit formats for the GPIO pin configu-
ration and control registers.
Table 3-30. GPIO Pin Function Selection
Bit
Description
USB Shadow Register (R/W)
Reset Value = 03h
F0 Index 43h
6
2
Enable SA20:
Pin AD22 configuration: 0 = GPIO4; 1 = SA20. If F0 Index 43h bit 6 or bit 2 is set to 1, then pin AD22 =
SA20.
Enable SA[23:20]:
Pins AF23, AE23, AC21, and AD22 configuration: 0 = GPIO[7:4]; 1 = SA[23:20]. If F0 Index 43h bit 6
or bit 2 is set to 1, then pin AD22 = SA20.
Codec Status Register (R/W)
Reset Value = 00000000h
F3BAR+Memory Offset 08h-0Bh
21
Enable SDATA_IN2:
Pin AE24 functions as: 0 = GPIO1; 1 = SDATA_IN2.
For this pin to function as SDATA_IN2, it must first be configured as an input (F0 Index 90h[1] = 0).
Table 3-31. GPIO Pin Configuration/Control Registers
Bit
Description
GPIO Pin Direction Register 1 (R/W)
Reset Value = 00h
F0 Index 90h
7
6
5
4
3
2
1
0
GPIO7 Direction:
Selects if GPIO7 is an input or output: 0 = Input; 1 = Output.
GPIO6 Direction:
Selects if GPIO6 is an input or output: 0 = Input; 1 = Output.
GPIO5 Direction:
Selects if GPIO5 is an input or output: 0 = Input; 1 = Output.
GPIO4 Direction:
Selects if GPIO4 is an input or output: 0 = Input; 1 = Output.
GPIO3 Direction:
Selects if GPIO3 is an input or output: 0 = Input; 1 = Output.
GPIO2 Direction:
Selects if GPIO2 is an input or output: 0 = Input; 1 = Output.
GPIO1 Direction:
Selects if GPIO1 is an input or output: 0 = Input; 1 = Output.
GPIO0 Direction:
Selects if GPIO0 is an input or output: 0 = Input; 1 = Output.
Note:
Several of these pins have specific alternate functions. The direction configured here must be consistent with the pins鈥?use as
the alternate function.
F0 Index 91h
7
6
5
4
3
2
1
0
GPIO Pin Data Register 1 (R/W)
Reset Value = 00h
GPIO7 Data:
Reflects the level of GPIO7: 0 = Low; 1 = High.
GPIO6 Data:
Reflects the level of GPIO6: 0 = Low; 1 = High.
GPIO5 Data:
Reflects the level of GPIO5: 0 = Low; 1 = High.
GPIO4 Data:
Reflects the level of GPIO4: 0 = Low; 1 = High.
GPIO3 Data:
Reflects the level of GPIO3: 0 = Low; 1 = High.
GPIO2 Data:
Reflects the level of GPIO2: 0 = Low; 1 = High.
GPIO1 Data:
Reflects the level of GPIO1: 0 = Low; 1 = High.
GPIO0 Data:
Reflects the level of GPIO0: 0 = Low; 1 = High.
Note:
This register contains the direct values of GPIO[7:0] pins. Write operations are valid only for bits defined as output. Reads from
this register will read the last written value if the pin is an output. The pins are configured as inputs or outputs in F0 Index 90h.
Revision 4.1
73
www.national.com

CS5530相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:
技术客服:

0571-85317607

网站技术支持

13606545031

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!