SPI Settings
spi.master.active_gpio
Abbreviation
sp m g
Access
get/set
Description
Specify the GPIO that is asserted when the module's SPI master bus is being accessed. At this time, any non-SPI peripheral signals connected to the SPI GPIOs should be set to high impedance.
Arguments
<gpio #>
Note
: Set to
-1
to disable this feature, and free a GPIO assigned to this function.
Default
-1
Properties
Gecko OS Kernel Plugin
Get example
> get sp m g
-1
Set example
> set sp m g 9
Set OK
> get gp u
! # Description
...
# 9 spi.master.active_gpio
...
spi.master.active_level
Abbreviation
sp m l
Access
get/set
Description
Specify the asserted level for spi.master.active_gpio
Arguments
<0/1>
Default
1
Properties
Gecko OS Kernel Plugin
Get example
> get sp m l
1
Set example
> set sp m l 0
Set OK