Home
last modified time | relevance | path

Searched refs:Spi (Results 1 – 25 of 38) sorted by relevance

12

/loramac-node-latest/src/boards/NucleoL476/
Dsx1261mbxbas-board.c68 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
81 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
157 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
158 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
177 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
181 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dsx1262mbxcas-board.c68 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
81 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
157 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
158 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
177 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
181 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dsx1262mbxdas-board.c71 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
84 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
162 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
164 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
165 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
167 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
182 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
188 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
191 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dboard.c164 SpiInit( &SX126x.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
170 SpiInit( &SX1272.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
173 SpiInit( &SX1276.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
209 SpiDeInit( &SX126x.Spi ); in BoardDeInitMcu()
215 SpiDeInit( &SX1272.Spi ); in BoardDeInitMcu()
218 SpiDeInit( &SX1276.Spi ); in BoardDeInitMcu()
Dsx1272mb2das-board.c92 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoInit()
114 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoDeInit()
Dsx1276mb1las-board.c92 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoInit()
114 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoDeInit()
Dsx1276mb1mas-board.c92 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoInit()
114 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoDeInit()
/loramac-node-latest/src/boards/NucleoL152/
Dsx1261mbxbas-board.c68 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
81 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
157 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
158 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
177 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
181 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dsx1262mbxcas-board.c68 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
81 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
157 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
158 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
177 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
181 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dsx1262mbxdas-board.c71 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
84 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
162 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
164 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
165 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
167 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
182 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
188 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
191 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dboard.c157 SpiInit( &SX126x.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
163 SpiInit( &SX1272.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
166 SpiInit( &SX1276.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
202 SpiDeInit( &SX126x.Spi ); in BoardDeInitMcu()
208 SpiDeInit( &SX1272.Spi ); in BoardDeInitMcu()
211 SpiDeInit( &SX1276.Spi ); in BoardDeInitMcu()
Dsx1272mb2das-board.c92 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoInit()
114 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoDeInit()
Dsx1276mb1las-board.c92 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoInit()
114 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoDeInit()
Dsx1276mb1mas-board.c92 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoInit()
114 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoDeInit()
/loramac-node-latest/src/boards/NucleoL073/
Dsx1261mbxbas-board.c68 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
81 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
157 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
158 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
177 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
181 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dsx1262mbxcas-board.c68 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
81 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
157 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
158 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
177 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
181 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dsx1262mbxdas-board.c71 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoInit()
84 GpioInit( &SX126x.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX126xIoDeInit()
162 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
164 SpiInOut( &SX126x.Spi, RADIO_GET_STATUS ); in SX126xWakeup()
165 SpiInOut( &SX126x.Spi, 0x00 ); in SX126xWakeup()
167 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
182 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 SpiInOut( &SX126x.Spi, ( uint8_t )command ); in SX126xWriteCommand()
188 SpiInOut( &SX126x.Spi, buffer[i] ); in SX126xWriteCommand()
191 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
[all …]
Dboard.c157 SpiInit( &SX126x.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
163 SpiInit( &SX1272.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
166 SpiInit( &SX1276.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
202 SpiDeInit( &SX126x.Spi ); in BoardDeInitMcu()
208 SpiDeInit( &SX1272.Spi ); in BoardDeInitMcu()
211 SpiDeInit( &SX1276.Spi ); in BoardDeInitMcu()
Dsx1272mb2das-board.c92 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoInit()
114 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoDeInit()
Dsx1276mb1las-board.c92 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoInit()
114 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoDeInit()
Dsx1276mb1mas-board.c92 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoInit()
114 GpioInit( &SX1276.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1276IoDeInit()
/loramac-node-latest/src/boards/SAMR34/
Dboard.c87 SpiInit( &SX1276.Spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
106 SpiDeInit( &SX1276.Spi ); in BoardDeInitMcu()
/loramac-node-latest/src/boards/SKiM980A/
Dsx1272-board.c93 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoInit()
115 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoDeInit()
/loramac-node-latest/src/boards/SKiM881AXL/
Dsx1272-board.c93 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoInit()
115 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoDeInit()
/loramac-node-latest/src/boards/NAMote72/
Dsx1272-board.c112 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoInit()
134 GpioInit( &SX1272.Spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, 1 ); in SX1272IoDeInit()

12