Home
last modified time | relevance | path

Searched refs:GpioWrite (Results 1 – 25 of 78) sorted by relevance

1234

/loramac-node-latest/src/boards/NucleoL152/
Dlr1110mb1xxs-board.c175 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write()
184 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_write()
204 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_read()
211 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_read()
216 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_read()
225 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_read()
237 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write_read()
244 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_write_read()
261 GpioWrite( &( ( lr1110_t* ) context )->reset, 0 ); in lr1110_hal_reset()
263 GpioWrite( &( ( lr1110_t* ) context )->reset, 1 ); in lr1110_hal_reset()
[all …]
Dsx1261mbxbas-board.c155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
198 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
207 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
218 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
229 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
243 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
253 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
Dsx1262mbxcas-board.c155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
198 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
207 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
218 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
229 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
243 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
253 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
Dsx1262mbxdas-board.c162 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
167 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
182 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
191 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
205 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
214 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
225 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
236 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
250 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
260 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
/loramac-node-latest/src/boards/NucleoL476/
Dlr1110mb1xxs-board.c175 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write()
184 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_write()
204 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_read()
211 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_read()
216 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_read()
225 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_read()
237 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write_read()
244 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_write_read()
261 GpioWrite( &( ( lr1110_t* ) context )->reset, 0 ); in lr1110_hal_reset()
263 GpioWrite( &( ( lr1110_t* ) context )->reset, 1 ); in lr1110_hal_reset()
[all …]
Dsx1261mbxbas-board.c155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
198 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
207 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
218 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
229 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
243 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
253 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
Dsx1262mbxcas-board.c155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
198 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
207 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
218 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
229 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
243 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
253 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
Dsx1262mbxdas-board.c162 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
167 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
182 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
191 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
205 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
214 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
225 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
236 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
250 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
260 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
/loramac-node-latest/src/boards/NucleoL073/
Dlr1110mb1xxs-board.c175 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write()
184 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_write()
204 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_read()
211 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_read()
216 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_read()
225 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_read()
237 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write_read()
244 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 1 ); in lr1110_hal_write_read()
261 GpioWrite( &( ( lr1110_t* ) context )->reset, 0 ); in lr1110_hal_reset()
263 GpioWrite( &( ( lr1110_t* ) context )->reset, 1 ); in lr1110_hal_reset()
[all …]
Dsx1261mbxbas-board.c155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
198 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
207 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
218 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
229 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
243 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
253 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
Dsx1262mbxcas-board.c155 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
160 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
175 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
184 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
198 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
207 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
218 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
229 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
243 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
253 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
Dsx1262mbxdas-board.c162 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWakeup()
167 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWakeup()
182 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteCommand()
191 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteCommand()
205 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadCommand()
214 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadCommand()
225 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xWriteRegisters()
236 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xWriteRegisters()
250 GpioWrite( &SX126x.Spi.Nss, 0 ); in SX126xReadRegisters()
260 GpioWrite( &SX126x.Spi.Nss, 1 ); in SX126xReadRegisters()
[all …]
/loramac-node-latest/src/apps/tx-cw/NAMote72/
Dmain.c143 GpioWrite( &Led1, 0 ); in main()
160 GpioWrite( &Led1, 1 ); in main()
162 GpioWrite( &Led2, 0 ); in main()
171 GpioWrite( &Led2, 1 ); in main()
173 GpioWrite( &Led3, 0 ); in main()
182 GpioWrite( &Led3, 1 ); in main()
184 GpioWrite( &Led1, 0 ); in main()
/loramac-node-latest/src/apps/tx-cw/SKiM880B/
Dmain.c142 GpioWrite( &Led4, 0 ); in main()
159 GpioWrite( &Led4, 4 ); in main()
161 GpioWrite( &Led2, 0 ); in main()
170 GpioWrite( &Led2, 1 ); in main()
172 GpioWrite( &Led3, 0 ); in main()
181 GpioWrite( &Led3, 1 ); in main()
183 GpioWrite( &Led4, 0 ); in main()
/loramac-node-latest/src/apps/tx-cw/SKiM881AXL/
Dmain.c142 GpioWrite( &Led4, 0 ); in main()
159 GpioWrite( &Led4, 4 ); in main()
161 GpioWrite( &Led2, 0 ); in main()
170 GpioWrite( &Led2, 1 ); in main()
172 GpioWrite( &Led3, 0 ); in main()
181 GpioWrite( &Led3, 1 ); in main()
183 GpioWrite( &Led4, 0 ); in main()
/loramac-node-latest/src/apps/tx-cw/SKiM980A/
Dmain.c142 GpioWrite( &Led4, 0 ); in main()
159 GpioWrite( &Led4, 4 ); in main()
161 GpioWrite( &Led2, 0 ); in main()
170 GpioWrite( &Led2, 1 ); in main()
172 GpioWrite( &Led3, 0 ); in main()
181 GpioWrite( &Led3, 1 ); in main()
183 GpioWrite( &Led4, 0 ); in main()
/loramac-node-latest/src/boards/NAMote72/
Dsx1272-board.c256 GpioWrite( &RadioSwitchCtrl1, 1 ); in SX1272SetAntSw()
257 GpioWrite( &RadioSwitchCtrl2, 0 ); in SX1272SetAntSw()
261 GpioWrite( &RadioSwitchCtrl1, 0 ); in SX1272SetAntSw()
262 GpioWrite( &RadioSwitchCtrl2, 1 ); in SX1272SetAntSw()
268 GpioWrite( &RadioSwitchCtrl1, 1 ); in SX1272SetAntSw()
269 GpioWrite( &RadioSwitchCtrl2, 1 ); in SX1272SetAntSw()
272 GpioWrite( &RadioSwitchCtrl1, 0 ); in SX1272SetAntSw()
273 GpioWrite( &RadioSwitchCtrl2, 0 ); in SX1272SetAntSw()
274 GpioWrite( &RadioPwrAmpCtrl, 0 ); in SX1272SetAntSw()
293 GpioWrite( &DbgPinTx, state ); in SX1272DbgPinTxWrite()
[all …]
Dgps-board.c109 GpioWrite( &GpsPowerEn, 0 ); // power up the GPS in GpsMcuStart()
113 GpioWrite( &GpsPowerEn, 1 ); // power up the GPS in GpsMcuStart()
121 GpioWrite( &GpsPowerEn, 1 ); // power down the GPS in GpsMcuStop()
125 GpioWrite( &GpsPowerEn, 0 ); // power down the GPS in GpsMcuStop()
/loramac-node-latest/src/apps/tx-cw/B-L072Z-LRWAN1/
Dmain.c158 GpioWrite( &Led1, 0 ); in main()
175 GpioWrite( &Led1, 1 ); in main()
177 GpioWrite( &Led2, 0 ); in main()
186 GpioWrite( &Led2, 1 ); in main()
188 GpioWrite( &Led3, 0 ); in main()
197 GpioWrite( &Led3, 1 ); in main()
199 GpioWrite( &Led1, 0 ); in main()
/loramac-node-latest/src/boards/SAMR34/
Drtc-board.c180 GpioWrite( &DbgRtcPin0, 0 ); in RtcStartAlarm()
181 GpioWrite( &DbgRtcPin1, 0 ); in RtcStartAlarm()
197 GpioWrite( &DbgRtcPin0, 1 ); in RtcStartAlarm()
258 GpioWrite( &DbgRtcPin0, 0 ); in RtcProcess()
259 GpioWrite( &DbgRtcPin1, 1 ); in RtcProcess()
264 GpioWrite( &DbgRtcPin1, 0 ); in RtcProcess()
282 GpioWrite( &DbgRtcPin1, 1 ); in RtcAlarmIrq()
287 GpioWrite( &DbgRtcPin1, 0 ); in RtcAlarmIrq()
/loramac-node-latest/src/apps/tx-cw/NucleoL073/
Dmain.c143 GpioWrite( &Led1, 0 ); in main()
165 GpioWrite( &Led1, 1 ); in main()
167 GpioWrite( &Led2, 0 ); in main()
176 GpioWrite( &Led2, 1 ); in main()
178 GpioWrite( &Led1, 0 ); in main()
/loramac-node-latest/src/apps/tx-cw/NucleoL152/
Dmain.c143 GpioWrite( &Led1, 0 ); in main()
165 GpioWrite( &Led1, 1 ); in main()
167 GpioWrite( &Led2, 0 ); in main()
176 GpioWrite( &Led2, 1 ); in main()
178 GpioWrite( &Led1, 0 ); in main()
/loramac-node-latest/src/apps/tx-cw/NucleoL476/
Dmain.c143 GpioWrite( &Led1, 0 ); in main()
165 GpioWrite( &Led1, 1 ); in main()
167 GpioWrite( &Led2, 0 ); in main()
176 GpioWrite( &Led2, 1 ); in main()
178 GpioWrite( &Led1, 0 ); in main()
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Dsx1276-board.c151 GpioWrite( &TcxoPower, 1 ); in SX1276SetBoardTcxo()
158 GpioWrite( &TcxoPower, 0 ); in SX1276SetBoardTcxo()
304 GpioWrite( &AntSwitchTxBoost, 1 ); in SX1276SetAntSw()
308 GpioWrite( &AntSwitchTxRfo, 1 ); in SX1276SetAntSw()
315 GpioWrite( &AntSwitchRx, 1 ); in SX1276SetAntSw()
334 GpioWrite( &DbgPinTx, state ); in SX1276DbgPinTxWrite()
339 GpioWrite( &DbgPinRx, state ); in SX1276DbgPinRxWrite()
/loramac-node-latest/src/boards/SKiM980A/
Dsx1272-board.c275 GpioWrite( &AntTx, 1 ); in SX1272SetAntSw()
276 GpioWrite( &AntRx, 0 ); in SX1272SetAntSw()
282 GpioWrite( &AntTx, 0 ); in SX1272SetAntSw()
283 GpioWrite( &AntRx, 1 ); in SX1272SetAntSw()
302 GpioWrite( &DbgPinTx, state ); in SX1272DbgPinTxWrite()
307 GpioWrite( &DbgPinRx, state ); in SX1272DbgPinRxWrite()

1234