Skip to main content

spi.disable()

Disables the specified SPI bus

Availability

Device (from impOS™ 30)

Returns

Nothing

Description

You can disable the SPI bus to save power: configuring a bus locks internal clocks’ frequencies which may otherwise be lowered to reduce power consumption. You should also disable the SPI bus before reconfiguring the pins for another role.