STM32412G-Discovery
+ 0/1 examples
CodeScope will show references to
SaturaLH
from the following samples and libraries:
Examples
STM32F412G-Discovery
Examples
DFSDM
DFSDM_AudioRecord
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STM32412G-Discovery
SaturaLH
SaturaLH macro
Syntax
from
stm32412g_discovery_audio.c:149
#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
Location
Text
stm32412g_discovery_audio.c:149
#define
SaturaLH
(
N
,
L
,
H
)
(
(
(
N
)
<
(
L
)
)
?
(
L
)
:
(
(
(
N
)
>
(
H
)
)
?
(
H
)
:
(
N
)
)
)
stm32412g_discovery_audio.c:1343
hAudioIn
.
pRecBuf
[
AppBuffTrigger
]
=
(
uint16_t
)
(
SaturaLH
(
(
pScratchBuff
[
POS_VAL
(
INPUT_DEVICE_DIGITAL_MIC1
)
]
[
index
]
>
>
8
)
,
-
32760
,
32760
)
)
;
stm32412g_discovery_audio.c:1344
hAudioIn
.
pRecBuf
[
AppBuffTrigger
+
1
]
=
(
uint16_t
)
(
SaturaLH
(
(
pScratchBuff
[
POS_VAL
(
INPUT_DEVICE_DIGITAL_MIC2
)
]
[
index
]
>
>
8
)
,
-
32760
,
32760
)
)
;
stm32412g_discovery_audio.c:1405
hAudioIn
.
pRecBuf
[
AppBuffTrigger
]
=
(
int16_t
)
(
SaturaLH
(
(
pScratchBuff
[
POS_VAL
(
INPUT_DEVICE_DIGITAL_MIC1
)
]
[
index
]
>
>
8
)
,
-
32760
,
32760
)
)
;
stm32412g_discovery_audio.c:1406
hAudioIn
.
pRecBuf
[
AppBuffTrigger
+
1
]
=
(
int16_t
)
(
SaturaLH
(
(
pScratchBuff
[
POS_VAL
(
INPUT_DEVICE_DIGITAL_MIC2
)
]
[
index
]
>
>
8
)
,
-
32760
,
32760
)
)
;