Module stm32h7xx_hal::pac::sai4::ch::cr2 [−][src]
Configuration register 2
Structs
COMP_W | Write proxy for field |
CPL_W | Write proxy for field |
FFLUSH_W | Write proxy for field |
FTH_W | Write proxy for field |
MUTECNT_W | Write proxy for field |
MUTEVAL_W | Write proxy for field |
MUTE_W | Write proxy for field |
TRIS_W | Write proxy for field |
Enums
COMP_A | Companding mode. These bits are set and cleared by software. The -Law and the A-Law log are a part of the CCITT G.711 recommendation, the type of complement that will be used depends on CPL bit. The data expansion or data compression are determined by the state of bit MODE[0]. The data compression is applied if the audio block is configured as a transmitter. The data expansion is automatically applied when the audio block is configured as a receiver. Refer to Section: Companding mode for more details. Note: Companding mode is applicable only when TDM is selected. |
CPL_A | Complement bit. This bit is set and cleared by software. It defines the type of complement to be used for companding mode Note: This bit has effect only when the companding mode is -Law algorithm or A-Law algorithm. |
FFLUSH_AW | FIFO flush. This bit is set by software. It is always read as 0. This bit should be configured when the SAI is disabled. |
FTH_A | FIFO threshold. This bit is set and cleared by software. |
MUTEVAL_A | Mute value. This bit is set and cleared by software.It must be written before enabling the audio block: SAIXEN. This bit is meaningful only when the audio block operates as a transmitter, the number of slots is lower or equal to 2 and the MUTE bit is set. If more slots are declared, the bit value sent during the transmission in mute mode is equal to 0, whatever the value of MUTEVAL. if the number of slot is lower or equal to 2 and MUTEVAL = 1, the MUTE value transmitted for each slot is the one sent during the previous frame. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks. |
MUTE_A | Mute. This bit is set and cleared by software. It is meaningful only when the audio block operates as a transmitter. The MUTE value is linked to value of MUTEVAL if the number of slots is lower or equal to 2, or equal to 0 if it is greater than 2. Refer to Section: Mute mode for more details. Note: This bit is meaningless and should not be used for SPDIF audio blocks. |
Type Definitions
COMP_R | Reader of field |
CPL_R | Reader of field |
FTH_R | Reader of field |
MUTECNT_R | Reader of field |
MUTEVAL_R | Reader of field |
MUTE_R | Reader of field |
R | Reader of register CR2 |
TRIS_R | Reader of field |
W | Writer for register CR2 |