Home
last modified time | relevance | path

Searched refs:SpiHandle (Results 1 – 8 of 8) sorted by relevance

/loramac-node-3.7.0/src/boards/NucleoL152/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/NAMote72/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/NucleoL073/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/SKiM880B/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/SKiM881AXL/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/SKiM980A/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/B-L072Z-LRWAN1/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]
/loramac-node-3.7.0/src/boards/NucleoL476/
Dspi-board.c29 static SPI_HandleTypeDef SpiHandle[2]; variable
43 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI1_BASE; in SpiInit()
56 SpiHandle[spiId].Instance = ( SPI_TypeDef* )SPI2_BASE; in SpiInit()
66 SpiHandle[spiId].Init.NSS = SPI_NSS_SOFT; in SpiInit()
75 HAL_SPI_Init( &SpiHandle[spiId] ); in SpiInit()
82 HAL_SPI_DeInit( &SpiHandle[obj->SpiId] ); in SpiDeInit()
92 SpiHandle[obj->SpiId].Init.Direction = SPI_DIRECTION_2LINES; in SpiFormat()
95 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_8BIT; in SpiFormat()
99 SpiHandle[obj->SpiId].Init.DataSize = SPI_DATASIZE_16BIT; in SpiFormat()
101 SpiHandle[obj->SpiId].Init.CLKPolarity = cpol; in SpiFormat()
[all …]