![SCT Scout SC4415 Скачать руководство пользователя страница 31](http://html.mh-extra.com/html/sct/scout-sc4415/scout-sc4415_user-manual_1220014031.webp)
Document# SCT-UM026FVC
Page 31 of 46
Confidential
State, the binary bit position correlates to a specific GPIO pin;
i.e. bit[0] = GPIO1 … bit[7] = GPIO8
<MASK> Pin Mask:
The Pin Mask determines which GPIO pins will take on the respective bit values
contained in the Pin State.
Range = 0x00 – 0xFF
<STATE> Pin State:
Set the specified GPIO pin to either low (0) or high (1) provided that the respective bit
value is set in the Pin Mask.
Range = 0x00 – 0xFF
5.1.17
gpr
Name
gpr
Queue Yes
Synopsis
gpr
Description Get the state of the GPIO pins
Detail
GPIO Position Read:
Get the State of the GPIO pins as either low (0) or high (1). For GPIO pins configured
as outputs, the current state will reflect the last state set using the ‘
’ command.
For the returned position data, the binary bit position correlates to a specific GPIO
pin;
i.e. bit[0] = GPIO1 … bit[7] = GPIO8
Returned read data can be accessed using the ‘
’ command.
5.2
RFFE Commands
5.2.1
clock
Name
clock
Queue No
Synopsis
clock
clock <FREQ>
Description Set the RFFE SCLK rate
Detail
Set the SCLK frequency. By default, the clock is set to 26000 kHz. Once set, the actual
frequency achieved is confirmed.
<FREQ> Clock Frequency:
Specify the clock frequency in kilohertz.
Range = 100 – 60000 kHz
5.2.2
hsdr
Name
hsdr
Queue No
Synopsis
hsdr
hsdr <ENABLE>
Description Set the RFFE Half Speed Data Response
Detail
Halves the clock rate during slave responses to register read commands.
<ENABLE> Half Speed Data Response:
0 = Disable (full speed)
1 = Enable (half speed)
5.2.3
rr
Name
rr
Queue Yes
Synopsis
rr <SA> <ADDR>
Description Perform an RFFE Register Read operation
Detail
Register Read:
<SA> Slave Address:
Address of the RFFE Slave device to communicate with.
Range = 0-15