ESP-IDF
I_WR_REG
is only used within ESP-IDF.
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
ESP-IDF Framework and Examples
ESP-IDF
I_WR_REG
I_WR_REG macro
Write literal value to a peripheral register reg[high_bit : low_bit] = val This instruction can access RTC_CNTL_, RTC_IO_, SENS_, and RTC_I2C peripheral registers.
Syntax
Show:
Summary
Declaration
from
ulp.h:332
#define
I_WR_REG
(
reg
,
low_bit
,
high_bit
,
val
)
{
.
wr_reg
=
{
\
.
addr
=
(
(
reg
)
/
sizeof
(
uint32_t
)
)
&
0xff
,
\
.
periph_sel
=
SOC_REG_TO_ULP_PERIPH_SEL
(
reg
)
,
\
.
data
=
val
,
\
.
low
=
low_bit
,
\
.
high
=
high_bit
,
\
.
opcode
=
OPCODE_WR_REG
}
}
Arguments
Argument
reg
low_bit
high_bit
val
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