Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 19 of 19) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_spi_m_sync.c62 int32_t spi_m_sync_init(struct spi_m_sync_descriptor *spi, void *const hw) in spi_m_sync_init() argument
66 ASSERT(spi && hw); in spi_m_sync_init()
68 spi->dev.prvt = (void *)hw; in spi_m_sync_init()
70 rc = _spi_m_sync_init(&spi->dev, hw); in spi_m_sync_init()
75 spi->flags = SPI_DEACTIVATE_NEXT; in spi_m_sync_init()
76 spi->io.read = _spi_m_sync_io_read; in spi_m_sync_init()
77 spi->io.write = _spi_m_sync_io_write; in spi_m_sync_init()
82 void spi_m_sync_deinit(struct spi_m_sync_descriptor *spi) in spi_m_sync_deinit() argument
84 ASSERT(spi); in spi_m_sync_deinit()
86 _spi_m_sync_deinit(&spi->dev); in spi_m_sync_deinit()
[all …]
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhal_spi_m_sync.h83 int32_t spi_m_sync_init(struct spi_m_sync_descriptor *spi, void *const hw);
95 void spi_m_sync_deinit(struct spi_m_sync_descriptor *spi);
105 void spi_m_sync_enable(struct spi_m_sync_descriptor *spi);
115 void spi_m_sync_disable(struct spi_m_sync_descriptor *spi);
130 int32_t spi_m_sync_set_baudrate(struct spi_m_sync_descriptor *spi, const uint32_t baud_val);
149 int32_t spi_m_sync_set_mode(struct spi_m_sync_descriptor *spi, const enum spi_transfer_mode mode);
168 int32_t spi_m_sync_set_char_size(struct spi_m_sync_descriptor *spi, const enum spi_char_size char_s…
180 int32_t spi_m_sync_set_data_order(struct spi_m_sync_descriptor *spi, const enum spi_data_order dord…
193 int32_t spi_m_sync_transfer(struct spi_m_sync_descriptor *spi, const struct spi_xfer *xfer);
206 int32_t spi_m_sync_get_io_descriptor(struct spi_m_sync_descriptor *const spi, struct io_descriptor …
/loramac-node-3.4.0/src/boards/NucleoL152/
Dlr1110mb1xxs-board.c54 …GpioInit( &( ( lr1110_t* ) context )->spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, … in lr1110_board_init_io()
62 …GpioInit( &( ( lr1110_t* ) context )->spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, … in lr1110_board_deinit_io()
175 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write()
178 SpiInOut( &( ( lr1110_t* ) context )->spi, command[i] ); in lr1110_hal_write()
182 SpiInOut( &( ( lr1110_t* ) context )->spi, data[i] ); 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()
208 SpiInOut( &( ( lr1110_t* ) context )->spi, command[i] ); 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()
[all …]
Dboard.c160 SpiInit( &LR1110.spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
205 SpiDeInit( &LR1110.spi ); in BoardDeInitMcu()
DCMakeLists.txt35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/NucleoL476/
Dlr1110mb1xxs-board.c54 …GpioInit( &( ( lr1110_t* ) context )->spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, … in lr1110_board_init_io()
62 …GpioInit( &( ( lr1110_t* ) context )->spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, … in lr1110_board_deinit_io()
175 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write()
178 SpiInOut( &( ( lr1110_t* ) context )->spi, command[i] ); in lr1110_hal_write()
182 SpiInOut( &( ( lr1110_t* ) context )->spi, data[i] ); 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()
208 SpiInOut( &( ( lr1110_t* ) context )->spi, command[i] ); 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()
[all …]
Dboard.c167 SpiInit( &LR1110.spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
212 SpiDeInit( &LR1110.spi ); in BoardDeInitMcu()
DCMakeLists.txt35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/NucleoL073/
Dlr1110mb1xxs-board.c54 …GpioInit( &( ( lr1110_t* ) context )->spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, … in lr1110_board_init_io()
62 …GpioInit( &( ( lr1110_t* ) context )->spi.Nss, RADIO_NSS, PIN_OUTPUT, PIN_PUSH_PULL, PIN_NO_PULL, … in lr1110_board_deinit_io()
175 GpioWrite( &( ( lr1110_t* ) context )->spi.Nss, 0 ); in lr1110_hal_write()
178 SpiInOut( &( ( lr1110_t* ) context )->spi, command[i] ); in lr1110_hal_write()
182 SpiInOut( &( ( lr1110_t* ) context )->spi, data[i] ); 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()
208 SpiInOut( &( ( lr1110_t* ) context )->spi, command[i] ); 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()
[all …]
Dboard.c160 SpiInit( &LR1110.spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu()
205 SpiDeInit( &LR1110.spi ); in BoardDeInitMcu()
DCMakeLists.txt35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/radio/lr1110/
Dlr1110.h86 Spi_t spi; member
/loramac-node-3.4.0/src/boards/SKiM881AXL/
DCMakeLists.txt34 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/SKiM980A/
DCMakeLists.txt34 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/SKiM880B/
DCMakeLists.txt34 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/NAMote72/
DCMakeLists.txt36 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/
DCMakeLists.txt35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/src/boards/SAMR34/
DCMakeLists.txt33 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
/loramac-node-3.4.0/
DCHANGELOG.md664 - Moved `__ffs` function from `utilities.h` to `spi-board.c`. This function is only used there
966 - Removed dependency of spi-board files to the `__builtin_ffs` function