47.6.14 SAI clear flag register (SAI_ACLRFR). STMicroelectronics STM32L552RC, STM32L562RE, STM32L552QC, STM32L552RE, STM32L562QE, STM32L552QE, STM32L552VE, STM32L552xx and STM32L562xx advanced Arm®-based 32-bit MCUs, STM32L552ZE, STM32L552VC
广告
广告
Serial audio interface (SAI) RM0438
Bit 2 WCKCFG : Wrong clock configuration flag.
This bit is read only.
0: Clock configuration is correct
1: Clock configuration does not respect the rule concerning the frame length specification defined in
Section 47.4.6: Frame synchronization
(configuration of FRL[7:0] bit in the SAI_xFRCR register)
This bit is used only when the audio block operates in master mode (MODE[1] = 0) and NODIV = 0.
It can generate an interrupt if WCKCFGIE bit is set in SAI_xIM register.
This flag is cleared when the software sets CWCKCFG bit in SAI_xCLRFR register.
Bit 1 MUTEDET : Mute detection.
This bit is read only.
0: No MUTE detection on the SD input line
1: MUTE value detected on the SD input line (0 value) for a specified number of consecutive audio frame
This flag is set if consecutive 0 values are received in each slot of a given audio frame and for a consecutive number of audio frames (set in the MUTECNT bit in the SAI_xCR2 register).
It can generate an interrupt if MUTEDETIE bit is set in SAI_xIM register.
This flag is cleared when the software sets bit CMUTEDET in the SAI_xCLRFR register.
Bit 0 OVRUDR : Overrun / underrun.
This bit is read only.
0: No overrun/underrun error.
1: Overrun/underrun error detection.
The overrun and underrun conditions can occur only when the audio block is configured as a receiver and a transmitter, respectively.
It can generate an interrupt if OVRUDRIE bit is set in SAI_xIM register.
This flag is cleared when the software sets COVRUDR bit in SAI_xCLRFR register.
47.6.14 SAI clear flag register (SAI_ACLRFR)
Address offset: 0x01C
Reset value: 0x0000 0000
30 29 31 28 27 26 25 24 23
Res.
Res. Res. Res. Res. Res. Res.
Res.
Res.
22
Res.
21
Res.
20
Res.
19
Res.
18
Res.
17
Res.
16
Res.
15 14 13 12 11 10 9 8 7 6 5 4
Res.
Res. Res. Res. Res. Res. Res.
Res.
Res.
CLFSDET CAFSDET CCNRDY w w w
3
Res.
2
CWCKCF
G w
1 0
CMUTE
DET
COVRUD
R w w
1794/2194 RM0438 Rev 7
广告