Home
last modified time | relevance | path

Searched refs:hspi (Results 1 – 9 of 9) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_spi.c118 static void SPI_TxCloseIRQHandler(struct __SPI_HandleTypeDef *hspi);
119 static void SPI_TxISR(struct __SPI_HandleTypeDef *hspi);
120 static void SPI_RxCloseIRQHandler(struct __SPI_HandleTypeDef *hspi);
121 static void SPI_2LinesRxISR(struct __SPI_HandleTypeDef *hspi);
122 static void SPI_RxISR(struct __SPI_HandleTypeDef *hspi);
130 static HAL_StatusTypeDef SPI_WaitOnFlagUntilTimeout(struct __SPI_HandleTypeDef *hspi, uint32_t Flag…
181 __weak HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi) in HAL_SPI_Init() argument
184 UNUSED(hspi); in HAL_SPI_Init()
195 HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi) in HAL_SPI_DeInit() argument
198 if(hspi == NULL) in HAL_SPI_DeInit()
[all …]
Dstm32l1xx_hal_spi_ex.c75 HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi) in HAL_SPI_Init() argument
78 if (hspi == NULL) in HAL_SPI_Init()
84 assert_param(IS_SPI_ALL_INSTANCE(hspi->Instance)); in HAL_SPI_Init()
85 assert_param(IS_SPI_MODE(hspi->Init.Mode)); in HAL_SPI_Init()
86 assert_param(IS_SPI_DIRECTION_MODE(hspi->Init.Direction)); in HAL_SPI_Init()
87 assert_param(IS_SPI_DATASIZE(hspi->Init.DataSize)); in HAL_SPI_Init()
88 assert_param(IS_SPI_CPOL(hspi->Init.CLKPolarity)); in HAL_SPI_Init()
89 assert_param(IS_SPI_CPHA(hspi->Init.CLKPhase)); in HAL_SPI_Init()
90 assert_param(IS_SPI_NSS(hspi->Init.NSS)); in HAL_SPI_Init()
91 assert_param(IS_SPI_BAUDRATE_PRESCALER(hspi->Init.BaudRatePrescaler)); in HAL_SPI_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_spi.c175 static void SPI_TxCloseIRQHandler(SPI_HandleTypeDef *hspi);
176 static void SPI_TxISR(SPI_HandleTypeDef *hspi);
177 static void SPI_RxCloseIRQHandler(SPI_HandleTypeDef *hspi);
178 static void SPI_2LinesRxISR(SPI_HandleTypeDef *hspi);
179 static void SPI_RxISR(SPI_HandleTypeDef *hspi);
187 static HAL_StatusTypeDef SPI_WaitOnFlagUntilTimeout(SPI_HandleTypeDef *hspi, uint32_t Flag, FlagSta…
238 HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi) in HAL_SPI_Init() argument
241 if(hspi == NULL) in HAL_SPI_Init()
247 assert_param(IS_SPI_ALL_INSTANCE(hspi->Instance)); in HAL_SPI_Init()
248 assert_param(IS_SPI_MODE(hspi->Init.Mode)); in HAL_SPI_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_spi.c253 static HAL_StatusTypeDef SPI_WaitFlagStateUntilTimeout(SPI_HandleTypeDef *hspi, uint32_t Flag, Flag…
255 static HAL_StatusTypeDef SPI_WaitFifoStateUntilTimeout(SPI_HandleTypeDef *hspi, uint32_t Fifo, uint…
257 static void SPI_TxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
258 static void SPI_TxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
259 static void SPI_RxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
260 static void SPI_RxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
261 static void SPI_2linesRxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
262 static void SPI_2linesTxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
263 static void SPI_2linesTxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
264 static void SPI_2linesRxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
[all …]
Dstm32l4xx_hal_spi_ex.c96 HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(SPI_HandleTypeDef *hspi) in HAL_SPIEx_FlushRxFifo() argument
100 while ((hspi->Instance->SR & SPI_FLAG_FRLVL) != SPI_FRLVL_EMPTY) in HAL_SPIEx_FlushRxFifo()
103 tmpreg = hspi->Instance->DR; in HAL_SPIEx_FlushRxFifo()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_spi.h152 void (*RxISR)(struct __SPI_HandleTypeDef *hspi); /*!< function pointer on Rx ISR */
154 void (*TxISR)(struct __SPI_HandleTypeDef *hspi); /*!< function pointer on Tx ISR */
167 …void (* TxCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Tx Completed callb…
168 …void (* RxCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Rx Completed callb…
169 …void (* TxRxCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI TxRx Completed cal…
170 …void (* TxHalfCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Tx Half Completed …
171 …void (* RxHalfCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Rx Half Completed …
172 …void (* TxRxHalfCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI TxRx Half Complete…
173 …void (* ErrorCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Error callback …
174 …void (* AbortCpltCallback)(struct __SPI_HandleTypeDef *hspi); /*!< SPI Abort callback …
[all …]
Dstm32l4xx_hal_spi_ex.h68 HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(SPI_HandleTypeDef *hspi);
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_spi.h144 …void (*RxISR)(struct __SPI_HandleTypeDef * hspi); /* function pointer on Rx …
146 …void (*TxISR)(struct __SPI_HandleTypeDef * hspi); /* function pointer on Tx …
501 HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi);
502 HAL_StatusTypeDef HAL_SPI_DeInit (SPI_HandleTypeDef *hspi);
503 void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi);
504 void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi);
513 HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t…
514 HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t …
515 HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxDa…
516 HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_spi.h144 …void (*RxISR)(struct __SPI_HandleTypeDef * hspi); /*!< function pointer on R…
146 …void (*TxISR)(struct __SPI_HandleTypeDef * hspi); /*!< function pointer on T…
590 HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi);
591 HAL_StatusTypeDef HAL_SPI_DeInit (SPI_HandleTypeDef *hspi);
592 void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi);
593 void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi);
602 HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t…
603 HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t …
604 HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxDa…
605 HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
[all …]