/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/ |
D | hal_spi_m_sync.c | 62 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/ |
D | hal_spi_m_sync.h | 83 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/ |
D | lr1110mb1xxs-board.c | 54 …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 …]
|
D | board.c | 160 SpiInit( &LR1110.spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu() 205 SpiDeInit( &LR1110.spi ); in BoardDeInitMcu()
|
D | CMakeLists.txt | 35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/NucleoL476/ |
D | lr1110mb1xxs-board.c | 54 …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 …]
|
D | board.c | 167 SpiInit( &LR1110.spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu() 212 SpiDeInit( &LR1110.spi ); in BoardDeInitMcu()
|
D | CMakeLists.txt | 35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/NucleoL073/ |
D | lr1110mb1xxs-board.c | 54 …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 …]
|
D | board.c | 160 SpiInit( &LR1110.spi, SPI_1, RADIO_MOSI, RADIO_MISO, RADIO_SCLK, NC ); in BoardInitMcu() 205 SpiDeInit( &LR1110.spi ); in BoardDeInitMcu()
|
D | CMakeLists.txt | 35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/radio/lr1110/ |
D | lr1110.h | 86 Spi_t spi; member
|
/loramac-node-3.4.0/src/boards/SKiM881AXL/ |
D | CMakeLists.txt | 34 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/SKiM980A/ |
D | CMakeLists.txt | 34 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/SKiM880B/ |
D | CMakeLists.txt | 34 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/NAMote72/ |
D | CMakeLists.txt | 36 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/ |
D | CMakeLists.txt | 35 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/src/boards/SAMR34/ |
D | CMakeLists.txt | 33 "${CMAKE_CURRENT_SOURCE_DIR}/spi-board.c"
|
/loramac-node-3.4.0/ |
D | CHANGELOG.md | 664 - 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
|