HAL
HAL_SAI_InitProtocol() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_SAI_InitProtocol() function

Initialize the structure FrameInit, SlotInit and the low part of Init according to the specified parameters and call the function HAL_SAI_Init to initialize the SAI block.

Syntax

HAL_StatusTypeDef HAL_SAI_InitProtocol(SAI_HandleTypeDef *hsai,     uint32_t protocol,     uint32_t datasize,     uint32_t nbslot);
Implemented in stm32f4xx_hal_sai.c:333

Arguments

hsai

pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.

protocol

one of the supported protocol SAI_Protocol

datasize

one of the supported datasize SAI_Protocol_DataSize the configuration information for SAI module.

nbslot

Number of slot.

Return value

HAL status

References

LocationText
stm32f4xx_hal_sai.c:333
HAL_StatusTypeDef HAL_SAI_InitProtocol(SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot)
stm32f4xx_hal_sai.h:690
HAL_StatusTypeDef HAL_SAI_InitProtocol(SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot);

Call Tree

Functions called by HAL_SAI_InitProtocol()
HAL_SAI_InitProtocol()
assert_failed()
all items filtered out
Data read by HAL_SAI_InitProtocol()
Data written by HAL_SAI_InitProtocol()
HAL_SAI_InitProtocol()
HAL_SAI_InitProtocol()::status
all items filtered out
Type of HAL_SAI_InitProtocol()
HAL_SAI_InitProtocol()