![Silicon Laboratories Si446 Series Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/silicon-laboratories/si446-series/si446-series_manual_1271734016.webp)
A N 6 2 5
16
Rev. 0.1
3.2.6. GPIO_PIN_CFG
Summary:
Configures the gpio pins
Command Stream
Reply Stream
Parameters:
GPIO0_PULL_CTL
0 = Disable pullup. Recommended setting if pin is driven.
1 = Enable pullup.
GPIO0_MODE[5:0]
0 = Do not modify the behavior of this pin.
1 = Input and output drivers disabled.
2 = CMOS output driven low.
3 = CMOS output driven high.
4 = CMOS input.
5 = 32 kHz clock.
6 = 30 MHz clock.
7 = Divided MCU clock.
8 = High when command complete, low otherwise.
9 = Low when command complete, high otherwise.
10 = High when command overlap occurs. TODO: What clears this.
GPIO_PIN_CFG Command
7
6
5
4
3
2
1
0
CMD
0x13
GPIO0
0
GPIO0_PULL_CTL
GPIO0_MODE[5:0]
GPIO1
0
GPIO1_PULL_CTL
GPIO1_MODE[5:0]
GPIO2
0
GPIO2_PULL_CTL
GPIO2_MODE[5:0]
GPIO3
0
GPIO3_PULL_CTL
GPIO3_MODE[5:0]
NIRQ
0
NIRQ_DRV_PULL
NIRQ_MODE[5:0]
SDO
0
SDO_PULL_CTL
SDO_MODE[5:0]
GEN_CONFIG
0
DRV_STRENGTH[1:0]
00000
GPIO_PIN_CFG Reply
7
6
5
4
3
2
1
0
CMD_COMPLETE
CTS[7:0]
GPIO0
GPIO0_STATE
X
GPIO0r_[5:0]
GPIO1
GPIO1_STATE
X
GPIO1r_[5:0]
GPIO2
GPIO2_STATE
X
GPIO2r_[5:0]
GPIO3
GPIO3_STATE
X
GPIO3r_[5:0]
NIRQ
NIRQSTATE
X
NIRQr_[5:0]
SDO
SDOSTATE
X
SDOr_[5:0]
GEN_CONFIG
X
DRV_STRENGTH[1:0]
XXXXX
Содержание Si446 Series
Страница 111: ...AN625 Rev 0 1 111 NOTES ...