Expand description
Execution/behavioural settings for state machine 0
Structs§
- SM_
EXECCTRL_ SPEC - Execution/behavioural settings for state machine 0
Enums§
- STATUS_
SEL_ A - Comparison used for the MOV x, STATUS instruction.
Type Aliases§
- EXEC_
STALLED_ R - Field
EXEC_STALLEDreader - If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. - INLINE_
OUT_ EN_ R - Field
INLINE_OUT_ENreader - If 1, use a bit of OUT data as an auxiliary write enable
When used in conjunction with OUT_STICKY, writes with an enable of 0 will
deassert the latest pin write. This can create useful masking/override behaviour
due to the priority ordering of state machine pin writes (SM0 < SM1 < …) - INLINE_
OUT_ EN_ W - Field
INLINE_OUT_ENwriter - If 1, use a bit of OUT data as an auxiliary write enable
When used in conjunction with OUT_STICKY, writes with an enable of 0 will
deassert the latest pin write. This can create useful masking/override behaviour
due to the priority ordering of state machine pin writes (SM0 < SM1 < …) - JMP_
PIN_ R - Field
JMP_PINreader - The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. - JMP_
PIN_ W - Field
JMP_PINwriter - The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. - OUT_
EN_ SEL_ R - Field
OUT_EN_SELreader - Which data bit to use for inline OUT enable - OUT_
EN_ SEL_ W - Field
OUT_EN_SELwriter - Which data bit to use for inline OUT enable - OUT_
STICKY_ R - Field
OUT_STICKYreader - Continuously assert the most recent OUT/SET to the pins - OUT_
STICKY_ W - Field
OUT_STICKYwriter - Continuously assert the most recent OUT/SET to the pins - R
- Register
SM_EXECCTRLreader - SIDE_
EN_ R - Field
SIDE_ENreader - If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. - SIDE_
EN_ W - Field
SIDE_ENwriter - If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. - SIDE_
PINDIR_ R - Field
SIDE_PINDIRreader - If 1, side-set data is asserted to pin directions, instead of pin values - SIDE_
PINDIR_ W - Field
SIDE_PINDIRwriter - If 1, side-set data is asserted to pin directions, instead of pin values - STATUS_
N_ R - Field
STATUS_Nreader - Comparison level for the MOV x, STATUS instruction - STATUS_
N_ W - Field
STATUS_Nwriter - Comparison level for the MOV x, STATUS instruction - STATUS_
SEL_ R - Field
STATUS_SELreader - Comparison used for the MOV x, STATUS instruction. - STATUS_
SEL_ W - Field
STATUS_SELwriter - Comparison used for the MOV x, STATUS instruction. - W
- Register
SM_EXECCTRLwriter - WRAP_
BOTTOM_ R - Field
WRAP_BOTTOMreader - After reaching wrap_top, execution is wrapped to this address. - WRAP_
BOTTOM_ W - Field
WRAP_BOTTOMwriter - After reaching wrap_top, execution is wrapped to this address. - WRAP_
TOP_ R - Field
WRAP_TOPreader - After reaching this address, execution is wrapped to wrap_bottom.
If the instruction is a jump, and the jump condition is true, the jump takes priority. - WRAP_
TOP_ W - Field
WRAP_TOPwriter - After reaching this address, execution is wrapped to wrap_bottom.
If the instruction is a jump, and the jump condition is true, the jump takes priority.