mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-09-08 15:59:06 +00:00
@@ -26,7 +26,7 @@ func New(spi drivers.SPI) *Device {
|
||||
return &d
|
||||
}
|
||||
|
||||
//SpiSetNss Sets the NSS line
|
||||
// SpiSetNss Sets the NSS line
|
||||
func (d *Device) SpiSetNss(state bool) {
|
||||
if state {
|
||||
stm32.PWR.SUBGHZSPICR.SetBits(stm32.PWR_SUBGHZSPICR_NSS)
|
||||
|
||||
Reference in New Issue
Block a user