CMSIS
_VAL2FLD
is only used within CMSIS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
CMSIS
_VAL2FLD
_VAL2FLD macro
Mask and shift a bit field value for use in a register bit range.
Syntax
Show:
Summary
Declaration
from
core_cm4.h:1529
#define
_VAL2FLD
(
field
,
value
)
(
(
(
uint32_t
)
(
value
)
<
<
field
##
_Pos
)
&
field
##
_Msk
)
Arguments
Argument
Description
field
Name of the register bit field.
value
Value of the bit field. This parameter is interpreted as an uint32_t type.
Return value
Masked and shifted value.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out