ESP-IDF
spi_periph_claimed
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
spi_periph_claimed
spi_periph_claimed variable
Syntax
Show:
Summary
Declaration
from
spi_share_hw_ctrl.c:18
static
atomic_bool
spi_periph_claimed
[
SOC_SPI_PERIPH_NUM
]
=
{
ATOMIC_VAR_INIT
(
true
)
,
ATOMIC_VAR_INIT
(
false
)
,
#if
(
SOC_SPI_PERIPH_NUM
>=
3
)
ATOMIC_VAR_INIT
(
false
)
,
#endif
#if
(
SOC_SPI_PERIPH_NUM
>=
4
)
ATOMIC_VAR_INIT
(
false
)
,
#endif
}
;
Examples
References
from
examples
Code
Location
Referrer
static
atomic_bool
spi_periph_claimed
[
SOC_SPI_PERIPH_NUM
]
=
{
ATOMIC_VAR_INIT
(
true
)
,
ATOMIC_VAR_INIT
(
false
)
,
spi_share_hw_ctrl.c:18
bool
ret
=
atomic_compare_exchange_strong
(
&
spi_periph_claimed
[
host
]
,
&
false_var
,
true
)
;
spi_share_hw_ctrl.c:34
spicommon_periph_claim()
return
atomic_load
(
&
spi_periph_claimed
[
host
]
)
;
spi_share_hw_ctrl.c:49
spicommon_periph_in_use()
bool
ret
=
atomic_compare_exchange_strong
(
&
spi_periph_claimed
[
host
]
,
&
true_var
,
false
)
;
spi_share_hw_ctrl.c:56
spicommon_periph_free()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
spi_periph_claimed
is read by 3 functions:
All items filtered out
spi_periph_claimed
spicommon_periph_claim()
spicommon_periph_in_use()
spicommon_periph_free()
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