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

SAI_InitPCM() function

Initialize the SAI PCM protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle.

Syntax

static HAL_StatusTypeDef SAI_InitPCM(SAI_HandleTypeDef *hsai,     uint32_t protocol,     uint32_t datasize,     uint32_t nbslot);
Implemented in stm32f4xx_hal_sai.c:2044

Arguments

hsai

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

protocol

one of the supported protocol

datasize

one of the supported datasize SAI_Protocol_DataSize

nbslot

number of slot minimum value is 1 and the max is 16.

Return value

HAL status