STM32F413H-Discovery + 0/1 examples
CodeScope will show references to SaturaLH from the following samples and libraries:
Examples
STM32F413H-Discovery
Examples
DFSDM
 
Symbols
loading...
Files
loading...

SaturaLH macro

Syntax

#define SaturaLH(N, L, H) (((N)<(L))?(L):(((N)>(H))?(H):(N)))

Arguments

N

L

H

Examples

SaturaLH is referenced by 1 libraries and example projects.

References

LocationText
stm32f413h_discovery_audio.c:134
#define SaturaLH(N, L, H) (((N)<(L))?(L):(((N)>(H))?(H):(N)))
stm32f413h_discovery_audio.c:1407
hAudioIn.pRecBuf[AppBuffTrigger] = (uint16_t)(SaturaLH((pScratchBuff[POS_VAL(INPUT_DEVICE_DIGITAL_MIC1)][index] >> 8), -32760, 32760));
stm32f413h_discovery_audio.c:1408
hAudioIn.pRecBuf[AppBuffTrigger + 1] = (uint16_t)(SaturaLH((pScratchBuff[POS_VAL(INPUT_DEVICE_DIGITAL_MIC2)][index] >> 8), -32760, 32760));
stm32f413h_discovery_audio.c:1481
hAudioIn.pRecBuf[AppBuffTrigger] = (int16_t)(SaturaLH((pScratchBuff[POS_VAL(INPUT_DEVICE_DIGITAL_MIC1)][index] >> 8), -32760, 32760));
stm32f413h_discovery_audio.c:1482
hAudioIn.pRecBuf[AppBuffTrigger + 1] = (int16_t)(SaturaLH((pScratchBuff[POS_VAL(INPUT_DEVICE_DIGITAL_MIC2)][index] >> 8), -32760, 32760));