LL I3C Functions ¶
Configuration ¶
- group I3C_LL_EF_Configuration
-
Functions
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
-
Enable I3C peripheral (EN = 1).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Enable
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_Disable
(
I3C_TypeDef
*
p_i3c
)
-
Disable I3C peripheral (EN = 0).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Disable
Note
Controller mode: before clearing EN, all possible target requests must be disabled using DISEC CCC. Target mode: software is not expected clearing EN unless a partial reset of the IP is needed
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabled
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the I3C peripheral is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_IsEnabled
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetRegister_CFGR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw CFGR register value.
- Reference Manual to LL API cross reference (Register Field Functions) CFGR * LL_I3C_GetRegister_CFGR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – CFGR register content.
-
uint32_t
LL_I3C_GetEnabledIT
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw IER register value.
- Reference Manual to LL API cross reference (Register Field Functions) IER * LL_I3C_GetEnabledIT
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – IER register content.
-
uint32_t
LL_I3C_GetFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Return masked EVR flags state.
- Reference Manual to LL API cross reference (Register Field Functions) EVR * LL_I3C_GetFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – Mask of EVR bits to check (OR-combination of EVR flags).
- Return values :
-
Masked – EVR value (non-zero bits indicate set flags).
-
uint32_t
LL_I3C_GetRegister_GETMXDSR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw GETMXDSR register value.
- Reference Manual to LL API cross reference (Register Field Functions) GETMXDSR * LL_I3C_GetRegister_GETMXDSR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – GETMXDSR register content.
-
uint32_t
LL_I3C_GetRegister_MISR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw MISR register value.
- Reference Manual to LL API cross reference (Register Field Functions) MISR * LL_I3C_GetRegister_MISR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – MISR register content.
-
uint32_t
LL_I3C_GetRegister_BCR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw BCR register value.
- Reference Manual to LL API cross reference (Register Field Functions) BCR * LL_I3C_GetRegister_BCR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – BCR register content.
-
uint32_t
LL_I3C_GetRegister_SER
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw SER register value.
- Reference Manual to LL API cross reference (Register Field Functions) SER * LL_I3C_GetRegister_SER
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – SER register content.
-
uint32_t
LL_I3C_GetRegister_TIMINGR2
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw TIMINGR2 register value.
- Reference Manual to LL API cross reference (Register Field Functions) TIMINGR2 * LL_I3C_GetRegister_TIMINGR2
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – TIMINGR2 register content.
-
void
LL_I3C_SetRegister_CR
(
I3C_TypeDef
*
p_i3c
,
uint32_t
cr_value
)
-
Write raw value into CR register.
- Reference Manual to LL API cross reference (Register Field Functions) CR * LL_I3C_SetRegister_CR
-
- Parameters :
-
p_i3c – I3C Instance.
cr_value – 32-bit value to program in CR.
-
uint32_t
LL_I3C_IsEnabledReset
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset action is required or not required.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTVAL LL_I3C_IsEnabledReset
Note
This bit indicates if reset action field has been updated by HW upon reception of RSTACT during current frame.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
peripheral_mode
)
-
Configure peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_SetMode
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
peripheral_mode – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_GetMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
An arbitration header (7’h7E) is sent after start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_EnableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
Target address is sent directly after a start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_DisableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledArbitrationHeader
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the arbitration header is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_IsEnabledArbitrationHeader
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A reset pattern is inserted before the STOP at the end of a frame when the last CCC of the frame was RSTACT CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_EnableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A single STOP is emitted at the end of a frame.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_DisableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledResetPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_IsEnabledResetPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is sent after header (MTYPE = header) to program an escalation fault.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_EnableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is not sent after header (MTYPE = header).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_DisableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledExitPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if exit pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_IsEnabledExitPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is enabled and will be used in place of standard open drain pull up device during handoff procedures.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_EnableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_DisableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHighKeeperSDA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if High keeper is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_IsEnabledHighKeeperSDA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is acked. Current frame on the bus is continued. A Hot-Join interrupt is sent through HJF flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_EnableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is NACKed. Current frame on the bus is continued. No Hot-Join interrupt is generated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_DisableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHJAck
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join request acknowledgement is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_IsEnabledHJAck
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_DMA_GetRegAddr
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
direction
)
-
Get the data register address used for DMA transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_DMA_GetRegAddr
TDWR TDWR LL_I3C_DMA_GetRegAddr
RDR RXRB0 LL_I3C_DMA_GetRegAddr
RDWR RDWR LL_I3C_DMA_GetRegAddr
SR SR LL_I3C_DMA_GetRegAddr
CR CR LL_I3C_DMA_GetRegAddr
- Parameters :
-
p_i3c – I3C Instance
direction – This parameter can be one of the following values:
- Return values :
-
Address – of data register
-
void
LL_I3C_EnableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_EnableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_DisableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_RX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO reception requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_IsEnabledDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetRxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
rx_fifo_threshold
)
-
Set the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_SetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
rx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetRxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_GetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_EnableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_DisableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_TX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO transmission requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_IsEnabledDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetTxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
)
-
Set the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_SetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetTxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_GetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetCtrlFifo
(
const
I3C_TypeDef
*
p_i3c
)
-
Get controller FIFO configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_GetCtrlFifo
CFGR SMODE LL_I3C_GetCtrlFifo
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
One – of: LL_I3C_CTRL_FIFO_NONE LL_I3C_CTRL_FIFO_CONTROL_ONLY LL_I3C_CTRL_FIFO_STATUS_ONLY LL_I3C_CTRL_FIFO_ALL
-
void
LL_I3C_EnableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_EnableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_DisableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Status
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO status requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_IsEnabledDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigCtrlFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
,
uint32_t
ctrl_fifo
)
-
Configure the controller fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigCtrlFifo
CFGR RXTHRES LL_I3C_ConfigCtrlFifo
CFGR TMODE LL_I3C_ConfigCtrlFifo
CFGR SMODE LL_I3C_ConfigCtrlFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
ctrl_fifo – One of LL_I3C_CTRL_FIFO_NONE, LL_I3C_CTRL_FIFO_CONTROL_ONLY, LL_I3C_CTRL_FIFO_STATUS_ONLY, LL_I3C_CTRL_FIFO_ALL.
-
void
LL_I3C_ConfigTgtFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
)
-
Configure the target fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigTgtFifo
CFGR RXTHRES LL_I3C_ConfigTgtFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
-
void
LL_I3C_EnableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
Note
Not applicable in target mode. status FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the status FIFO threshold.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_DisableStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStatusFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the status FIFO threshold is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_IsEnabledStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_EnableControlFIFO
Note
Not applicable in target mode. control FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_DisableControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControlFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the control and transmit FIFO preloaded is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_IsEnabledControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_EnableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableAllDMARequests
(
I3C_TypeDef
*
p_i3c
)
-
Disable all I3C DMA request sources (Control, RX, TX, Status) with a single register access.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableAllDMARequests
CFGR RXDMAEN LL_I3C_DisableAllDMARequests
CFGR TXDMAEN LL_I3C_DisableAllDMARequests
CFGR SDMAEN LL_I3C_DisableAllDMARequests
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Control
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO control word transfer requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_IsEnabledDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_EnableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetAndEnableOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address and set it valid in one operation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA,DAVAL LL_I3C_SetAndEnableOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – Value between 0 and 0x7F.
-
void
LL_I3C_DisableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as not-Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_DisableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledOwnDynAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if own dynamic address is valid or not valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_IsEnabledOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_SetOwnDynamicAddress
Note
This bit can be programmed in controller mode or during dynamic address procedure from current controller.
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – This parameter must be a value between Min_Data=0 and Max_Data=0x7F
-
uint8_t
LL_I3C_GetOwnDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Get Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_GetOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7F
-
void
LL_I3C_EnableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_EnableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_DisableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI procedure is allowed or not allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_IsEnabledIBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_EnableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_DisableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControllerRoleReq
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role request is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_IsEnabledControllerRoleReq
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_EnableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_DisableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHotJoin
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_IsEnabledHotJoin
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMaxReadLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_read_length
)
-
Configure maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_SetMaxReadLength
Note
Those bits can be updated by HW upon reception of GETMRL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_read_length – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxReadLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_GetMaxReadLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Configure the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_ConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
LL_I3C_PAYLOAD_EMPTY << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_1_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_2_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_3_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_4_BYTE << I3C_MAXRLR_IBIP_Pos
-
void
LL_I3C_SetNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Set the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode). I3C_MAXRLR_IBIP must be at reset value. It means after a block reset of the I3C Instance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_SetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetConfigNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Return the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_GetConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxWriteLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_write_length_byte
)
-
Configure maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_SetMaxWriteLength
Note
Those bits can be updated by HW upon reception of GETMWL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_write_length_byte – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxWriteLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_GetMaxWriteLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigClockWaveForm
(
I3C_TypeDef
*
p_i3c
,
uint32_t
clock_wave_form
)
-
Configure the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_ConfigClockWaveForm
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
clock_wave_form – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
uint32_t
LL_I3C_GetClockWaveForm
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_GetClockWaveForm
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_SetPeriodClockLowPP
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_pp
)
-
Configure the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_SetPeriodClockLowPP
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_pp – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowPP
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_GetPeriodClockLowPP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI3C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i3c
)
-
Configure the SCL clock High period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_SetPeriodClockHighI3C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i3c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI3C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_GetPeriodClockHighI3C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockLowOD
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_od
)
-
Configure the SCL clock low period during I3C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_SetPeriodClockLowOD
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_od – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowOD
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C open phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_GetPeriodClockLowOD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI2C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i2c
)
-
Configure the SCL clock High period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_SetPeriodClockHighI2C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i2c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI2C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_GetPeriodClockHighI2C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetDataHoldTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_hold_time
)
-
Configure the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
data_hold_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataHoldTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetAvalTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
aval_timing
)
-
Configure the Idle, Available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_SetAvalTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
aval_timing – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetAvalTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Idle, Available integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_GetAvalTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetFreeTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
free_timing
)
-
Configure the Free state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_SetFreeTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
free_timing – This parameter must be a value between Min_Data=0 and Max_Data=0x3F.
-
uint32_t
LL_I3C_GetFreeTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the free integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_GetFreeTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x3F.
-
void
LL_I3C_SetControllerActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_activity_state
)
-
Configure the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_SetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
controller_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_GetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetBusCharacteristic
TIMINGR1 FREE LL_I3C_SetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetBusCharacteristic
TIMINGR1 AVAL LL_I3C_SetBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetBusCharacteristic
TIMINGR1 FREE LL_I3C_GetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetBusCharacteristic
TIMINGR1 AVAL LL_I3C_GetBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetCtrlBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_SetCtrlBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetCtrlBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_GetCtrlBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetTgtBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_bus_characteristic
)
-
Configure the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_SetTgtBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
tgt_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetTgtBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_GetTgtBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_ConfigStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
stall_time_cycle
,
uint32_t
stall_features
)
-
Set the SCL clock stalling configuration. All stall features not selected are disabled.
Note
This configuration can be set when the I3C is acting as controller.
- Parameters :
-
hi3c – Pointer to a hal_i3c_handle_t
stall_time_cycle – Controller clock stall time in number of kernel clock cycles. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
stall_features – Features of the I3C controller to which the stall time will be applied. See Stall feature definition, this parameter is a combination of the following values: LL_I3C_CTRL_STALL_ACK LL_I3C_CTRL_STALL_CCC LL_I3C_CTRL_STALL_TX LL_I3C_CTRL_STALL_RX LL_I3C_CTRL_STALL_I2C_ACK LL_I3C_CTRL_STALL_I2C_TX LL_I3C_CTRL_STALL_I2C_RX LL_I3C_CTRL_STALL_ALL LL_I3C_CTRL_STALL_NONE
-
void
LL_I3C_SetStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_stall_time
)
-
Configure the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_SetStallTime
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_stall_time – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetStallTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_GetStallTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_EnableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLL LL_I3C_EnableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C address is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACKI2CAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_EnableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_DisableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CWrite
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C write message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_IsEnabledStallACKI2CWrite
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_EnableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_DisableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C read message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_IsEnabledStallACKI2CRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_EnableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on ACK bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_EnableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_DisableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityCCC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of command Code byte is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_IsEnabledStallParityCCC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_EnableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_DisableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityData
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of data bytes is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_IsEnabledStallParityData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_EnableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_DisableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallTbit
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on T bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_IsEnabledStallTbit
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigPayloadEntDAA
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_limitation
,
uint32_t
ibi_payload
,
uint32_t
ctrl_role
)
-
Set control capability, IBI payload support and max speed limitation in BCR register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR LL_I3C_ConfigPayloadEntDAA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_limitation – This parameter can be one of the following values:
ibi_payload – This parameter can be one of the following values:
ctrl_role – This parameter can be one of the following values:
-
void
LL_I3C_SetDeviceCapabilityOnBus
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_capability_on_bus
)
-
Configure the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_SetDeviceCapabilityOnBus
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_capability_on_bus – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceCapabilityOnBus
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_GetDeviceCapabilityOnBus
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_ibi_payload
)
-
Configure the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_SetDeviceIBIPayload
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_ibi_payload – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_GetDeviceIBIPayload
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDataSpeedLimitation
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_speed_limitation
)
-
Configure the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_SetDataSpeedLimitation
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_speed_limitation – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataSpeedLimitation
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_GetDataSpeedLimitation
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceCharacteristics
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_characteristics
)
-
Configure the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DC LL_I3C_SetDeviceCharacteristics
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
Refer MIPI web site for the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
device_characteristics – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetDeviceCharacteristics
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DCR LL_I3C_GetDeviceCharacteristics
Note
Refer MIPI web site to associated value with the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPendingReadMDB
(
I3C_TypeDef
*
p_i3c
,
uint32_t
pending_read_mdb
)
-
Configure IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_SetPendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
pending_read_mdb – This parameter can be one of the following values:
-
void
LL_I3C_EnablePendingReadMDB
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_EnablePendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_GetPendingReadMDB
(
const
I3C_TypeDef
*
p_i3c
)
-
Get IBI MDB support for pending read notification value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_GetPendingReadMDB
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetGrpAddrHandoffSupport
(
I3C_TypeDef
*
p_i3c
,
uint32_t
grp_addr_handoff_support
)
-
Configure the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_SetGrpAddrHandoffSupport
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
grp_addr_handoff_support – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetGrpAddrHandoffSupport
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_GetGrpAddrHandoffSupport
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetControllerHandoffDelayed
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_handoff_delayed
)
-
Configure the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_SetControllerHandoffDelayed
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
controller_handoff_delayed – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerHandoffDelayed
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_GetControllerHandoffDelayed
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Enable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_EnableHandOffDelay
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Disable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_DisableHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHandOffDelay
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if the Delayed controller Handoff bit in MSTCAP2 is enabled. RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_IsEnabledHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetConfigGETMXDS
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_handoff_activity
,
uint32_t
getmxds_format
,
uint32_t
data_turnaround_duration
,
uint32_t
max_read_turnaround
)
-
Configure GETMXDS response fields.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS,FMT,TSCO,RDTURN LL_I3C_SetConfigGETMXDS
Note
Programmable only when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_handoff_activity – One of LL_I3C_HANDOFF_ACTIVITY_STATE_0..3 (HOFFAS bits).
getmxds_format – One of LL_I3C_GETMXDS_FORMAT_1 / _2_LSB / _2_MID / _2_MSB (FMT bits).
data_turnaround_duration – One of LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS or LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS (TSCO bit).
max_read_turnaround – Value 0..0xF placed in RDTURN[3:0] (only used for format 2 variants).
-
void
LL_I3C_SetHandoffActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
handoff_activity_state
)
-
Configure the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_SetHandoffActivityState
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
handoff_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetHandoffActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_GetHandoffActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxDataSpeedFormat
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_format
)
-
Configure the max data speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_SetMaxDataSpeedFormat
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_format – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMaxDataSpeedFormat
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the max data Speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_GetMaxDataSpeedFormat
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMiddleByteTurnAround
(
I3C_TypeDef
*
p_i3c
,
uint32_t
middle_byte_turn_around
)
-
Configure the middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_SetMiddleByteTurnAround
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
middle_byte_turn_around – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMiddleByteTurnAround
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the value of middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_GetMiddleByteTurnAround
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
void
LL_I3C_SetDataTurnAroundTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_turn_around_time
)
-
Configure clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_SetDataTurnAroundTime
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_turn_around_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataTurnAroundTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_GetDataTurnAroundTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMIPIInstanceID
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mipi_instance_id
)
-
Configure the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_SetMIPIInstanceID
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
mipi_instance_id – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMIPIInstanceID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_GetMIPIInstanceID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetIDTypeSelector
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the ID type selector.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR IDTSEL LL_I3C_GetIDTypeSelector
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0x1
-
uint32_t
LL_I3C_GetMIPIManufacturerID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Manufacturer ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIMID LL_I3C_GetMIPIManufacturerID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7FFF.
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_Configuration
-
Functions
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
-
Enable I3C peripheral (EN = 1).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Enable
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_Disable
(
I3C_TypeDef
*
p_i3c
)
-
Disable I3C peripheral (EN = 0).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Disable
Note
Controller mode: before clearing EN, all possible target requests must be disabled using DISEC CCC. Target mode: software is not expected clearing EN unless a partial reset of the IP is needed
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabled
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the I3C peripheral is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_IsEnabled
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetRegister_CFGR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw CFGR register value.
- Reference Manual to LL API cross reference (Register Field Functions) CFGR * LL_I3C_GetRegister_CFGR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – CFGR register content.
-
uint32_t
LL_I3C_GetEnabledIT
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw IER register value.
- Reference Manual to LL API cross reference (Register Field Functions) IER * LL_I3C_GetEnabledIT
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – IER register content.
-
uint32_t
LL_I3C_GetFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Return masked EVR flags state.
- Reference Manual to LL API cross reference (Register Field Functions) EVR * LL_I3C_GetFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – Mask of EVR bits to check (OR-combination of EVR flags).
- Return values :
-
Masked – EVR value (non-zero bits indicate set flags).
-
uint32_t
LL_I3C_GetRegister_GETMXDSR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw GETMXDSR register value.
- Reference Manual to LL API cross reference (Register Field Functions) GETMXDSR * LL_I3C_GetRegister_GETMXDSR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – GETMXDSR register content.
-
uint32_t
LL_I3C_GetRegister_MISR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw MISR register value.
- Reference Manual to LL API cross reference (Register Field Functions) MISR * LL_I3C_GetRegister_MISR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – MISR register content.
-
uint32_t
LL_I3C_GetRegister_BCR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw BCR register value.
- Reference Manual to LL API cross reference (Register Field Functions) BCR * LL_I3C_GetRegister_BCR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – BCR register content.
-
uint32_t
LL_I3C_GetRegister_SER
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw SER register value.
- Reference Manual to LL API cross reference (Register Field Functions) SER * LL_I3C_GetRegister_SER
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – SER register content.
-
uint32_t
LL_I3C_GetRegister_TIMINGR2
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw TIMINGR2 register value.
- Reference Manual to LL API cross reference (Register Field Functions) TIMINGR2 * LL_I3C_GetRegister_TIMINGR2
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – TIMINGR2 register content.
-
void
LL_I3C_SetRegister_CR
(
I3C_TypeDef
*
p_i3c
,
uint32_t
cr_value
)
-
Write raw value into CR register.
- Reference Manual to LL API cross reference (Register Field Functions) CR * LL_I3C_SetRegister_CR
-
- Parameters :
-
p_i3c – I3C Instance.
cr_value – 32-bit value to program in CR.
-
uint32_t
LL_I3C_IsEnabledReset
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset action is required or not required.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTVAL LL_I3C_IsEnabledReset
Note
This bit indicates if reset action field has been updated by HW upon reception of RSTACT during current frame.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
peripheral_mode
)
-
Configure peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_SetMode
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
peripheral_mode – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_GetMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
An arbitration header (7’h7E) is sent after start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_EnableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
Target address is sent directly after a start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_DisableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledArbitrationHeader
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the arbitration header is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_IsEnabledArbitrationHeader
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A reset pattern is inserted before the STOP at the end of a frame when the last CCC of the frame was RSTACT CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_EnableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A single STOP is emitted at the end of a frame.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_DisableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledResetPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_IsEnabledResetPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is sent after header (MTYPE = header) to program an escalation fault.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_EnableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is not sent after header (MTYPE = header).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_DisableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledExitPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if exit pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_IsEnabledExitPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is enabled and will be used in place of standard open drain pull up device during handoff procedures.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_EnableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_DisableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHighKeeperSDA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if High keeper is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_IsEnabledHighKeeperSDA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is acked. Current frame on the bus is continued. A Hot-Join interrupt is sent through HJF flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_EnableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is NACKed. Current frame on the bus is continued. No Hot-Join interrupt is generated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_DisableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHJAck
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join request acknowledgement is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_IsEnabledHJAck
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_DMA_GetRegAddr
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
direction
)
-
Get the data register address used for DMA transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_DMA_GetRegAddr
TDWR TDWR LL_I3C_DMA_GetRegAddr
RDR RXRB0 LL_I3C_DMA_GetRegAddr
RDWR RDWR LL_I3C_DMA_GetRegAddr
SR SR LL_I3C_DMA_GetRegAddr
CR CR LL_I3C_DMA_GetRegAddr
- Parameters :
-
p_i3c – I3C Instance
direction – This parameter can be one of the following values:
- Return values :
-
Address – of data register
-
void
LL_I3C_EnableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_EnableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_DisableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_RX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO reception requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_IsEnabledDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetRxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
rx_fifo_threshold
)
-
Set the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_SetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
rx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetRxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_GetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_EnableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_DisableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_TX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO transmission requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_IsEnabledDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetTxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
)
-
Set the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_SetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetTxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_GetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetCtrlFifo
(
const
I3C_TypeDef
*
p_i3c
)
-
Get controller FIFO configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_GetCtrlFifo
CFGR SMODE LL_I3C_GetCtrlFifo
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
One – of: LL_I3C_CTRL_FIFO_NONE LL_I3C_CTRL_FIFO_CONTROL_ONLY LL_I3C_CTRL_FIFO_STATUS_ONLY LL_I3C_CTRL_FIFO_ALL
-
void
LL_I3C_EnableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_EnableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_DisableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Status
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO status requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_IsEnabledDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigCtrlFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
,
uint32_t
ctrl_fifo
)
-
Configure the controller fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigCtrlFifo
CFGR RXTHRES LL_I3C_ConfigCtrlFifo
CFGR TMODE LL_I3C_ConfigCtrlFifo
CFGR SMODE LL_I3C_ConfigCtrlFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
ctrl_fifo – One of LL_I3C_CTRL_FIFO_NONE, LL_I3C_CTRL_FIFO_CONTROL_ONLY, LL_I3C_CTRL_FIFO_STATUS_ONLY, LL_I3C_CTRL_FIFO_ALL.
-
void
LL_I3C_ConfigTgtFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
)
-
Configure the target fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigTgtFifo
CFGR RXTHRES LL_I3C_ConfigTgtFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
-
void
LL_I3C_EnableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
Note
Not applicable in target mode. status FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the status FIFO threshold.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_DisableStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStatusFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the status FIFO threshold is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_IsEnabledStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_EnableControlFIFO
Note
Not applicable in target mode. control FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_DisableControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControlFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the control and transmit FIFO preloaded is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_IsEnabledControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_EnableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableAllDMARequests
(
I3C_TypeDef
*
p_i3c
)
-
Disable all I3C DMA request sources (Control, RX, TX, Status) with a single register access.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableAllDMARequests
CFGR RXDMAEN LL_I3C_DisableAllDMARequests
CFGR TXDMAEN LL_I3C_DisableAllDMARequests
CFGR SDMAEN LL_I3C_DisableAllDMARequests
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Control
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO control word transfer requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_IsEnabledDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_EnableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetAndEnableOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address and set it valid in one operation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA,DAVAL LL_I3C_SetAndEnableOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – Value between 0 and 0x7F.
-
void
LL_I3C_DisableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as not-Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_DisableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledOwnDynAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if own dynamic address is valid or not valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_IsEnabledOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_SetOwnDynamicAddress
Note
This bit can be programmed in controller mode or during dynamic address procedure from current controller.
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – This parameter must be a value between Min_Data=0 and Max_Data=0x7F
-
uint8_t
LL_I3C_GetOwnDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Get Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_GetOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7F
-
void
LL_I3C_EnableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_EnableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_DisableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI procedure is allowed or not allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_IsEnabledIBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_EnableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_DisableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControllerRoleReq
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role request is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_IsEnabledControllerRoleReq
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_EnableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_DisableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHotJoin
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_IsEnabledHotJoin
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMaxReadLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_read_length
)
-
Configure maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_SetMaxReadLength
Note
Those bits can be updated by HW upon reception of GETMRL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_read_length – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxReadLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_GetMaxReadLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Configure the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_ConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
LL_I3C_PAYLOAD_EMPTY << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_1_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_2_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_3_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_4_BYTE << I3C_MAXRLR_IBIP_Pos
-
void
LL_I3C_SetNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Set the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode). I3C_MAXRLR_IBIP must be at reset value. It means after a block reset of the I3C Instance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_SetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetConfigNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Return the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_GetConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxWriteLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_write_length_byte
)
-
Configure maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_SetMaxWriteLength
Note
Those bits can be updated by HW upon reception of GETMWL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_write_length_byte – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxWriteLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_GetMaxWriteLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigClockWaveForm
(
I3C_TypeDef
*
p_i3c
,
uint32_t
clock_wave_form
)
-
Configure the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_ConfigClockWaveForm
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
clock_wave_form – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
uint32_t
LL_I3C_GetClockWaveForm
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_GetClockWaveForm
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_SetPeriodClockLowPP
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_pp
)
-
Configure the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_SetPeriodClockLowPP
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_pp – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowPP
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_GetPeriodClockLowPP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI3C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i3c
)
-
Configure the SCL clock High period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_SetPeriodClockHighI3C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i3c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI3C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_GetPeriodClockHighI3C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockLowOD
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_od
)
-
Configure the SCL clock low period during I3C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_SetPeriodClockLowOD
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_od – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowOD
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C open phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_GetPeriodClockLowOD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI2C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i2c
)
-
Configure the SCL clock High period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_SetPeriodClockHighI2C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i2c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI2C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_GetPeriodClockHighI2C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetDataHoldTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_hold_time
)
-
Configure the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
data_hold_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataHoldTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetAvalTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
aval_timing
)
-
Configure the Idle, Available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_SetAvalTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
aval_timing – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetAvalTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Idle, Available integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_GetAvalTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetFreeTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
free_timing
)
-
Configure the Free state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_SetFreeTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
free_timing – This parameter must be a value between Min_Data=0 and Max_Data=0x3F.
-
uint32_t
LL_I3C_GetFreeTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the free integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_GetFreeTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x3F.
-
void
LL_I3C_SetControllerActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_activity_state
)
-
Configure the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_SetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
controller_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_GetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetBusCharacteristic
TIMINGR1 FREE LL_I3C_SetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetBusCharacteristic
TIMINGR1 AVAL LL_I3C_SetBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetBusCharacteristic
TIMINGR1 FREE LL_I3C_GetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetBusCharacteristic
TIMINGR1 AVAL LL_I3C_GetBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetCtrlBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_SetCtrlBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetCtrlBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_GetCtrlBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetTgtBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_bus_characteristic
)
-
Configure the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_SetTgtBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
tgt_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetTgtBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_GetTgtBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_ConfigStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
stall_time_cycle
,
uint32_t
stall_features
)
-
Set the SCL clock stalling configuration. All stall features not selected are disabled.
Note
This configuration can be set when the I3C is acting as controller.
- Parameters :
-
hi3c – Pointer to a hal_i3c_handle_t
stall_time_cycle – Controller clock stall time in number of kernel clock cycles. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
stall_features – Features of the I3C controller to which the stall time will be applied. See Stall feature definition, this parameter is a combination of the following values: LL_I3C_CTRL_STALL_ACK LL_I3C_CTRL_STALL_CCC LL_I3C_CTRL_STALL_TX LL_I3C_CTRL_STALL_RX LL_I3C_CTRL_STALL_I2C_ACK LL_I3C_CTRL_STALL_I2C_TX LL_I3C_CTRL_STALL_I2C_RX LL_I3C_CTRL_STALL_ALL LL_I3C_CTRL_STALL_NONE
-
void
LL_I3C_SetStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_stall_time
)
-
Configure the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_SetStallTime
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_stall_time – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetStallTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_GetStallTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_EnableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLL LL_I3C_EnableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C address is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACKI2CAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_EnableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_DisableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CWrite
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C write message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_IsEnabledStallACKI2CWrite
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_EnableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_DisableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C read message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_IsEnabledStallACKI2CRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_EnableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on ACK bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_EnableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_DisableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityCCC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of command Code byte is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_IsEnabledStallParityCCC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_EnableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_DisableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityData
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of data bytes is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_IsEnabledStallParityData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_EnableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_DisableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallTbit
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on T bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_IsEnabledStallTbit
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigPayloadEntDAA
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_limitation
,
uint32_t
ibi_payload
,
uint32_t
ctrl_role
)
-
Set control capability, IBI payload support and max speed limitation in BCR register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR LL_I3C_ConfigPayloadEntDAA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_limitation – This parameter can be one of the following values:
ibi_payload – This parameter can be one of the following values:
ctrl_role – This parameter can be one of the following values:
-
void
LL_I3C_SetDeviceCapabilityOnBus
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_capability_on_bus
)
-
Configure the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_SetDeviceCapabilityOnBus
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_capability_on_bus – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceCapabilityOnBus
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_GetDeviceCapabilityOnBus
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_ibi_payload
)
-
Configure the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_SetDeviceIBIPayload
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_ibi_payload – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_GetDeviceIBIPayload
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDataSpeedLimitation
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_speed_limitation
)
-
Configure the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_SetDataSpeedLimitation
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_speed_limitation – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataSpeedLimitation
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_GetDataSpeedLimitation
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceCharacteristics
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_characteristics
)
-
Configure the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DC LL_I3C_SetDeviceCharacteristics
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
Refer MIPI web site for the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
device_characteristics – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetDeviceCharacteristics
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DCR LL_I3C_GetDeviceCharacteristics
Note
Refer MIPI web site to associated value with the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPendingReadMDB
(
I3C_TypeDef
*
p_i3c
,
uint32_t
pending_read_mdb
)
-
Configure IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_SetPendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
pending_read_mdb – This parameter can be one of the following values:
-
void
LL_I3C_EnablePendingReadMDB
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_EnablePendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_GetPendingReadMDB
(
const
I3C_TypeDef
*
p_i3c
)
-
Get IBI MDB support for pending read notification value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_GetPendingReadMDB
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetGrpAddrHandoffSupport
(
I3C_TypeDef
*
p_i3c
,
uint32_t
grp_addr_handoff_support
)
-
Configure the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_SetGrpAddrHandoffSupport
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
grp_addr_handoff_support – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetGrpAddrHandoffSupport
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_GetGrpAddrHandoffSupport
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetControllerHandoffDelayed
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_handoff_delayed
)
-
Configure the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_SetControllerHandoffDelayed
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
controller_handoff_delayed – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerHandoffDelayed
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_GetControllerHandoffDelayed
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Enable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_EnableHandOffDelay
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Disable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_DisableHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHandOffDelay
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if the Delayed controller Handoff bit in MSTCAP2 is enabled. RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_IsEnabledHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetConfigGETMXDS
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_handoff_activity
,
uint32_t
getmxds_format
,
uint32_t
data_turnaround_duration
,
uint32_t
max_read_turnaround
)
-
Configure GETMXDS response fields.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS,FMT,TSCO,RDTURN LL_I3C_SetConfigGETMXDS
Note
Programmable only when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_handoff_activity – One of LL_I3C_HANDOFF_ACTIVITY_STATE_0..3 (HOFFAS bits).
getmxds_format – One of LL_I3C_GETMXDS_FORMAT_1 / _2_LSB / _2_MID / _2_MSB (FMT bits).
data_turnaround_duration – One of LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS or LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS (TSCO bit).
max_read_turnaround – Value 0..0xF placed in RDTURN[3:0] (only used for format 2 variants).
-
void
LL_I3C_SetHandoffActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
handoff_activity_state
)
-
Configure the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_SetHandoffActivityState
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
handoff_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetHandoffActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_GetHandoffActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxDataSpeedFormat
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_format
)
-
Configure the max data speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_SetMaxDataSpeedFormat
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_format – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMaxDataSpeedFormat
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the max data Speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_GetMaxDataSpeedFormat
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMiddleByteTurnAround
(
I3C_TypeDef
*
p_i3c
,
uint32_t
middle_byte_turn_around
)
-
Configure the middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_SetMiddleByteTurnAround
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
middle_byte_turn_around – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMiddleByteTurnAround
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the value of middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_GetMiddleByteTurnAround
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
void
LL_I3C_SetDataTurnAroundTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_turn_around_time
)
-
Configure clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_SetDataTurnAroundTime
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_turn_around_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataTurnAroundTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_GetDataTurnAroundTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMIPIInstanceID
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mipi_instance_id
)
-
Configure the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_SetMIPIInstanceID
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
mipi_instance_id – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMIPIInstanceID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_GetMIPIInstanceID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetIDTypeSelector
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the ID type selector.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR IDTSEL LL_I3C_GetIDTypeSelector
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0x1
-
uint32_t
LL_I3C_GetMIPIManufacturerID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Manufacturer ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIMID LL_I3C_GetMIPIManufacturerID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7FFF.
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_Configuration
-
Functions
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
-
Enable I3C peripheral (EN = 1).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Enable
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_Disable
(
I3C_TypeDef
*
p_i3c
)
-
Disable I3C peripheral (EN = 0).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_Disable
Note
Controller mode: before clearing EN, all possible target requests must be disabled using DISEC CCC. Target mode: software is not expected clearing EN unless a partial reset of the IP is needed
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabled
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the I3C peripheral is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EN LL_I3C_IsEnabled
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetRegister_CFGR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw CFGR register value.
- Reference Manual to LL API cross reference (Register Field Functions) CFGR * LL_I3C_GetRegister_CFGR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – CFGR register content.
-
uint32_t
LL_I3C_GetEnabledIT
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw IER register value.
- Reference Manual to LL API cross reference (Register Field Functions) IER * LL_I3C_GetEnabledIT
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – IER register content.
-
uint32_t
LL_I3C_GetFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Return masked EVR flags state.
- Reference Manual to LL API cross reference (Register Field Functions) EVR * LL_I3C_GetFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – Mask of EVR bits to check (OR-combination of EVR flags).
- Return values :
-
Masked – EVR value (non-zero bits indicate set flags).
-
uint32_t
LL_I3C_GetRegister_GETMXDSR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw GETMXDSR register value.
- Reference Manual to LL API cross reference (Register Field Functions) GETMXDSR * LL_I3C_GetRegister_GETMXDSR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – GETMXDSR register content.
-
uint32_t
LL_I3C_GetRegister_MISR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw MISR register value.
- Reference Manual to LL API cross reference (Register Field Functions) MISR * LL_I3C_GetRegister_MISR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – MISR register content.
-
uint32_t
LL_I3C_GetRegister_BCR
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw BCR register value.
- Reference Manual to LL API cross reference (Register Field Functions) BCR * LL_I3C_GetRegister_BCR
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – BCR register content.
-
uint32_t
LL_I3C_GetRegister_SER
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw SER register value.
- Reference Manual to LL API cross reference (Register Field Functions) SER * LL_I3C_GetRegister_SER
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – SER register content.
-
uint32_t
LL_I3C_GetRegister_TIMINGR2
(
const
I3C_TypeDef
*
p_i3c
)
-
Return raw TIMINGR2 register value.
- Reference Manual to LL API cross reference (Register Field Functions) TIMINGR2 * LL_I3C_GetRegister_TIMINGR2
-
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
32-bit – TIMINGR2 register content.
-
void
LL_I3C_SetRegister_CR
(
I3C_TypeDef
*
p_i3c
,
uint32_t
cr_value
)
-
Write raw value into CR register.
- Reference Manual to LL API cross reference (Register Field Functions) CR * LL_I3C_SetRegister_CR
-
- Parameters :
-
p_i3c – I3C Instance.
cr_value – 32-bit value to program in CR.
-
uint32_t
LL_I3C_IsEnabledReset
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset action is required or not required.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTVAL LL_I3C_IsEnabledReset
Note
This bit indicates if reset action field has been updated by HW upon reception of RSTACT during current frame.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
peripheral_mode
)
-
Configure peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_SetMode
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
peripheral_mode – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get peripheral mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CRINIT LL_I3C_GetMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
An arbitration header (7’h7E) is sent after start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_EnableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableArbitrationHeader
(
I3C_TypeDef
*
p_i3c
)
-
Target address is sent directly after a start in case of legacy I2C or I3C private transfers.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_DisableArbitrationHeader
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledArbitrationHeader
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the arbitration header is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR NOARBH LL_I3C_IsEnabledArbitrationHeader
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A reset pattern is inserted before the STOP at the end of a frame when the last CCC of the frame was RSTACT CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_EnableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableResetPattern
(
I3C_TypeDef
*
p_i3c
)
-
A single STOP is emitted at the end of a frame.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_DisableResetPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledResetPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RSTPTRN LL_I3C_IsEnabledResetPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is sent after header (MTYPE = header) to program an escalation fault.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_EnableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableExitPattern
(
I3C_TypeDef
*
p_i3c
)
-
An exit pattern is not sent after header (MTYPE = header).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_DisableExitPattern
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledExitPattern
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if exit pattern is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR EXITPTRN LL_I3C_IsEnabledExitPattern
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is enabled and will be used in place of standard open drain pull up device during handoff procedures.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_EnableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHighKeeperSDA
(
I3C_TypeDef
*
p_i3c
)
-
High keeper is disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_DisableHighKeeperSDA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHighKeeperSDA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if High keeper is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HKSDAEN LL_I3C_IsEnabledHighKeeperSDA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is acked. Current frame on the bus is continued. A Hot-Join interrupt is sent through HJF flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_EnableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHJAck
(
I3C_TypeDef
*
p_i3c
)
-
Hot-Join request is NACKed. Current frame on the bus is continued. No Hot-Join interrupt is generated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_DisableHJAck
Note
This bit can be used when I3C is acting as a controller.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHJAck
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join request acknowledgement is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR HJACK LL_I3C_IsEnabledHJAck
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_DMA_GetRegAddr
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
direction
)
-
Get the data register address used for DMA transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_DMA_GetRegAddr
TDWR TDWR LL_I3C_DMA_GetRegAddr
RDR RXRB0 LL_I3C_DMA_GetRegAddr
RDWR RDWR LL_I3C_DMA_GetRegAddr
SR SR LL_I3C_DMA_GetRegAddr
CR CR LL_I3C_DMA_GetRegAddr
- Parameters :
-
p_i3c – I3C Instance
direction – This parameter can be one of the following values:
- Return values :
-
Address – of data register
-
void
LL_I3C_EnableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_EnableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_RX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO reception requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_DisableDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_RX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO reception requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXDMAEN LL_I3C_IsEnabledDMAReq_RX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetRxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
rx_fifo_threshold
)
-
Set the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_SetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
rx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetRxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the receive FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXTHRES LL_I3C_GetRxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_EnableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_TX
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO transmission requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_DisableDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_TX
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO transmission requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXDMAEN LL_I3C_IsEnabledDMAReq_TX
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetTxFIFOThreshold
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
)
-
Set the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_SetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetTxFIFOThreshold
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the transmit FIFO threshold level.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_GetTxFIFOThreshold
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetCtrlFifo
(
const
I3C_TypeDef
*
p_i3c
)
-
Get controller FIFO configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_GetCtrlFifo
CFGR SMODE LL_I3C_GetCtrlFifo
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
One – of: LL_I3C_CTRL_FIFO_NONE LL_I3C_CTRL_FIFO_CONTROL_ONLY LL_I3C_CTRL_FIFO_STATUS_ONLY LL_I3C_CTRL_FIFO_ALL
-
void
LL_I3C_EnableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_EnableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Status
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO status requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_DisableDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Status
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO status requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SDMAEN LL_I3C_IsEnabledDMAReq_Status
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigCtrlFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
,
uint32_t
ctrl_fifo
)
-
Configure the controller fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigCtrlFifo
CFGR RXTHRES LL_I3C_ConfigCtrlFifo
CFGR TMODE LL_I3C_ConfigCtrlFifo
CFGR SMODE LL_I3C_ConfigCtrlFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
ctrl_fifo – One of LL_I3C_CTRL_FIFO_NONE, LL_I3C_CTRL_FIFO_CONTROL_ONLY, LL_I3C_CTRL_FIFO_STATUS_ONLY, LL_I3C_CTRL_FIFO_ALL.
-
void
LL_I3C_ConfigTgtFifo
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tx_fifo_threshold
,
uint32_t
rx_fifo_threshold
)
-
Configure the target fifo.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXTHRES LL_I3C_ConfigTgtFifo
CFGR RXTHRES LL_I3C_ConfigTgtFifo
Note
These bits can only be programmed when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
tx_fifo_threshold – One of LL_I3C_TXFIFO_THRESHOLD_1_8 or LL_I3C_TXFIFO_THRESHOLD_1_2.
rx_fifo_threshold – One of LL_I3C_RXFIFO_THRESHOLD_1_8 or LL_I3C_RXFIFO_THRESHOLD_1_2.
-
void
LL_I3C_EnableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_EnableStatusFIFO
Note
Not applicable in target mode. status FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStatusFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the status FIFO threshold.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_DisableStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStatusFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the status FIFO threshold is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SMODE LL_I3C_IsEnabledStatusFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Enable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_EnableControlFIFO
Note
Not applicable in target mode. control FIFO always disabled in target mode.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControlFIFO
(
I3C_TypeDef
*
p_i3c
)
-
Disable the control and transmit FIFO preloaded before starting a transfer on I3C bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_DisableControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControlFIFO
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if the control and transmit FIFO preloaded is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TMODE LL_I3C_IsEnabledControlFIFO
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Enable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_EnableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableDMAReq_Control
(
I3C_TypeDef
*
p_i3c
)
-
Disable DMA FIFO control word transfer requests.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableAllDMARequests
(
I3C_TypeDef
*
p_i3c
)
-
Disable all I3C DMA request sources (Control, RX, TX, Status) with a single register access.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_DisableAllDMARequests
CFGR RXDMAEN LL_I3C_DisableAllDMARequests
CFGR TXDMAEN LL_I3C_DisableAllDMARequests
CFGR SDMAEN LL_I3C_DisableAllDMARequests
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledDMAReq_Control
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if DMA FIFO control word transfer requests are enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CDMAEN LL_I3C_IsEnabledDMAReq_Control
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_EnableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetAndEnableOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address and set it valid in one operation.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA,DAVAL LL_I3C_SetAndEnableOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – Value between 0 and 0x7F.
-
void
LL_I3C_DisableOwnDynAddress
(
I3C_TypeDef
*
p_i3c
)
-
Set Own dynamic address as not-Valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_DisableOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledOwnDynAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if own dynamic address is valid or not valid.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DAVAL LL_I3C_IsEnabledOwnDynAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetOwnDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_dynamic_address
)
-
Configure Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_SetOwnDynamicAddress
Note
This bit can be programmed in controller mode or during dynamic address procedure from current controller.
- Parameters :
-
p_i3c – I3C Instance.
own_dynamic_address – This parameter must be a value between Min_Data=0 and Max_Data=0x7F
-
uint8_t
LL_I3C_GetOwnDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
)
-
Get Own dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 DA LL_I3C_GetOwnDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7F
-
void
LL_I3C_EnableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_EnableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIBI
(
I3C_TypeDef
*
p_i3c
)
-
Set IBI procedure not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_DisableIBI
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI procedure is allowed or not allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 IBIEN LL_I3C_IsEnabledIBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_EnableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableControllerRoleReq
(
I3C_TypeDef
*
p_i3c
)
-
Set controller-role request as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_DisableControllerRoleReq
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledControllerRoleReq
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role request is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 CREN LL_I3C_IsEnabledControllerRoleReq
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_EnableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHotJoin
(
I3C_TypeDef
*
p_i3c
)
-
Set Hot-Join as not-allowed (when the I3C is acting as target).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_DisableHotJoin
Note
This bit can be programmed when the I3C is disabled (EN = 0) or updated by HW upon reception of DISEC CCC.
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHotJoin
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join is allowed or not-allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 HJEN LL_I3C_IsEnabledHotJoin
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetMaxReadLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_read_length
)
-
Configure maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_SetMaxReadLength
Note
Those bits can be updated by HW upon reception of GETMRL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_read_length – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxReadLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum read length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR MRL LL_I3C_GetMaxReadLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Configure the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_ConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
LL_I3C_PAYLOAD_EMPTY << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_1_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_2_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_3_BYTE << I3C_MAXRLR_IBIP_Pos
LL_I3C_PAYLOAD_4_BYTE << I3C_MAXRLR_IBIP_Pos
-
void
LL_I3C_SetNbIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
nb_ibi_add_data
)
-
Set the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode). I3C_MAXRLR_IBIP must be at reset value. It means after a block reset of the I3C Instance.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_SetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
nb_ibi_add_data – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetConfigNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Return the number of additional Mandatory data Byte (MDB) sent to the controller after an acknowledge of the IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXRLR IBIP LL_I3C_GetConfigNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxWriteLength
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_write_length_byte
)
-
Configure maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_SetMaxWriteLength
Note
Those bits can be updated by HW upon reception of GETMWL CCC.
- Parameters :
-
p_i3c – I3C Instance.
max_write_length_byte – This parameter must be a value between Min_Data=0x0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetMaxWriteLength
(
const
I3C_TypeDef
*
p_i3c
)
-
Return maximum write length (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
MAXWLR MWL LL_I3C_GetMaxWriteLength
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0xFFFFF
-
void
LL_I3C_ConfigClockWaveForm
(
I3C_TypeDef
*
p_i3c
,
uint32_t
clock_wave_form
)
-
Configure the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_ConfigClockWaveForm
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
clock_wave_form – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
uint32_t
LL_I3C_GetClockWaveForm
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock signal waveform.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 TIMINGR0 LL_I3C_GetClockWaveForm
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_SetPeriodClockLowPP
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_pp
)
-
Configure the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_SetPeriodClockLowPP
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_pp – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowPP
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_PP LL_I3C_GetPeriodClockLowPP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI3C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i3c
)
-
Configure the SCL clock High period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_SetPeriodClockHighI3C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i3c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI3C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I3C open drain and push-pull phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I3C LL_I3C_GetPeriodClockHighI3C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockLowOD
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_low_od
)
-
Configure the SCL clock low period during I3C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_SetPeriodClockLowOD
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_low_od – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockLowOD
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock low period during I3C open phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLL_OD LL_I3C_GetPeriodClockLowOD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPeriodClockHighI2C
(
I3C_TypeDef
*
p_i3c
,
uint32_t
period_clock_high_i2c
)
-
Configure the SCL clock High period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_SetPeriodClockHighI2C
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
period_clock_high_i2c – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetPeriodClockHighI2C
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock high period during I2C open drain phases.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR0 SCLH_I2C LL_I3C_GetPeriodClockHighI2C
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetDataHoldTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_hold_time
)
-
Configure the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
data_hold_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataHoldTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller additional hold time on SDA line.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetDataHoldTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetAvalTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
aval_timing
)
-
Configure the Idle, Available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_SetAvalTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
aval_timing – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetAvalTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Idle, Available integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 AVAL LL_I3C_GetAvalTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetFreeTiming
(
I3C_TypeDef
*
p_i3c
,
uint32_t
free_timing
)
-
Configure the Free state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_SetFreeTiming
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
free_timing – This parameter must be a value between Min_Data=0 and Max_Data=0x3F.
-
uint32_t
LL_I3C_GetFreeTiming
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the free integer value state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 FREE LL_I3C_GetFreeTiming
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x3F.
-
void
LL_I3C_SetControllerActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_activity_state
)
-
Configure the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_SetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
controller_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state of the new controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 ASNCR LL_I3C_GetControllerActivityState
Note
Refer to MIPI I3C specification ( https:__www.mipi.org_specifications) for more details related to activity state.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetBusCharacteristic
TIMINGR1 FREE LL_I3C_SetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetBusCharacteristic
TIMINGR1 AVAL LL_I3C_SetBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetBusCharacteristic
TIMINGR1 FREE LL_I3C_GetBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetBusCharacteristic
TIMINGR1 AVAL LL_I3C_GetBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetCtrlBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_bus_characteristic
)
-
Configure the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_SetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_SetCtrlBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0x107F03FF.
-
uint32_t
LL_I3C_GetCtrlBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the controller SDA hold time, Bus Free, Activity state, Idle state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 SDA_HD LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 FREE LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 ASNCR LL_I3C_GetCtrlBusCharacteristic
TIMINGR1 IDLE LL_I3C_GetCtrlBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x107F03FF.
-
void
LL_I3C_SetTgtBusCharacteristic
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_bus_characteristic
)
-
Configure the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_SetTgtBusCharacteristic
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
tgt_bus_characteristic – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetTgtBusCharacteristic
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target available state.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR1 IDLE LL_I3C_GetTgtBusCharacteristic
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_ConfigStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
stall_time_cycle
,
uint32_t
stall_features
)
-
Set the SCL clock stalling configuration. All stall features not selected are disabled.
Note
This configuration can be set when the I3C is acting as controller.
- Parameters :
-
hi3c – Pointer to a hal_i3c_handle_t
stall_time_cycle – Controller clock stall time in number of kernel clock cycles. This parameter must be a number between Min_Data=0x00 and Max_Data=0xFF.
stall_features – Features of the I3C controller to which the stall time will be applied. See Stall feature definition, this parameter is a combination of the following values: LL_I3C_CTRL_STALL_ACK LL_I3C_CTRL_STALL_CCC LL_I3C_CTRL_STALL_TX LL_I3C_CTRL_STALL_RX LL_I3C_CTRL_STALL_I2C_ACK LL_I3C_CTRL_STALL_I2C_TX LL_I3C_CTRL_STALL_I2C_RX LL_I3C_CTRL_STALL_ALL LL_I3C_CTRL_STALL_NONE
-
void
LL_I3C_SetStallTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_stall_time
)
-
Configure the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_SetStallTime
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
This parameter is computed with the STM32CubeMX Tool.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_stall_time – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetStallTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the SCL clock stalling time on I3C Bus (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALL LL_I3C_GetStallTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_EnableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLL LL_I3C_EnableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CAddr
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C address (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACKI2CAddr
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C address is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACKI2CAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_EnableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CWrite
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C write message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_DisableStallACKI2CWrite
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CWrite
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C write message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLS LL_I3C_IsEnabledStallACKI2CWrite
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_EnableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACKI2CRead
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on data ACK/NACK bit of legacy I2C read message (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_DisableStallACKI2CRead
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACKI2CRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on data ACK/NACK bit of legacy I2C read message is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLR LL_I3C_IsEnabledStallACKI2CRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_EnableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallACK
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on ACK bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_DisableStallACK
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on ACK bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLA LL_I3C_IsEnabledStallACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_EnableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityCCC
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of command Code byte (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_DisableStallParityCCC
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityCCC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of command Code byte is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLC LL_I3C_IsEnabledStallParityCCC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_EnableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallParityData
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on Parity bit of data bytes (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_DisableStallParityData
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallParityData
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on Parity bit of data bytes is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLD LL_I3C_IsEnabledStallParityData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Set stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_EnableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableStallTbit
(
I3C_TypeDef
*
p_i3c
)
-
Disable stall on T bit (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_DisableStallTbit
Note
This bit can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledStallTbit
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if stall on T bit is enabled or disabled (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TIMINGR2 STALLT LL_I3C_IsEnabledStallTbit
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigPayloadEntDAA
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_limitation
,
uint32_t
ibi_payload
,
uint32_t
ctrl_role
)
-
Set control capability, IBI payload support and max speed limitation in BCR register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR LL_I3C_ConfigPayloadEntDAA
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_limitation – This parameter can be one of the following values:
ibi_payload – This parameter can be one of the following values:
ctrl_role – This parameter can be one of the following values:
-
void
LL_I3C_SetDeviceCapabilityOnBus
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_capability_on_bus
)
-
Configure the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_SetDeviceCapabilityOnBus
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_capability_on_bus – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceCapabilityOnBus
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device capability on bus as target or controller (MIPI Bus Characteristics Register BCR6).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR6 LL_I3C_GetDeviceCapabilityOnBus
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_ibi_payload
)
-
Configure the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_SetDeviceIBIPayload
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
device_ibi_payload – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDeviceIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device IBI payload (MIPI Bus Characteristics Register BCR2).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR2 LL_I3C_GetDeviceIBIPayload
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDataSpeedLimitation
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_speed_limitation
)
-
Configure the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_SetDataSpeedLimitation
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_speed_limitation – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataSpeedLimitation
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the data Speed Limitation (limitation, as described by I3C_GETMXDSR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
BCR BCR0 LL_I3C_GetDataSpeedLimitation
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetDeviceCharacteristics
(
I3C_TypeDef
*
p_i3c
,
uint32_t
device_characteristics
)
-
Configure the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DC LL_I3C_SetDeviceCharacteristics
Note
This bit can only be programmed when the I3C is disabled (EN = 0).
Note
Refer MIPI web site for the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
device_characteristics – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_GetDeviceCharacteristics
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the device Characteristics Register (DCR).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DCR DCR LL_I3C_GetDeviceCharacteristics
Note
Refer MIPI web site to associated value with the list of device code available.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xFF.
-
void
LL_I3C_SetPendingReadMDB
(
I3C_TypeDef
*
p_i3c
,
uint32_t
pending_read_mdb
)
-
Configure IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_SetPendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
pending_read_mdb – This parameter can be one of the following values:
-
void
LL_I3C_EnablePendingReadMDB
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI MDB support for pending read notification.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_EnablePendingReadMDB
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_GetPendingReadMDB
(
const
I3C_TypeDef
*
p_i3c
)
-
Get IBI MDB support for pending read notification value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETCAPR CAPPEND LL_I3C_GetPendingReadMDB
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetGrpAddrHandoffSupport
(
I3C_TypeDef
*
p_i3c
,
uint32_t
grp_addr_handoff_support
)
-
Configure the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_SetGrpAddrHandoffSupport
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
grp_addr_handoff_support – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetGrpAddrHandoffSupport
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Group Management Support bit of MSTCAP1.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPGRP LL_I3C_GetGrpAddrHandoffSupport
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetControllerHandoffDelayed
(
I3C_TypeDef
*
p_i3c
,
uint32_t
controller_handoff_delayed
)
-
Configure the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_SetControllerHandoffDelayed
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
controller_handoff_delayed – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetControllerHandoffDelayed
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_GetControllerHandoffDelayed
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_EnableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Enable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_EnableHandOffDelay
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableHandOffDelay
(
I3C_TypeDef
*
p_i3c
)
-
Disable the Delayed controller Handoff bit in MSTCAP2.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_DisableHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledHandOffDelay
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if the Delayed controller Handoff bit in MSTCAP2 is enabled. RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CRCAPR CAPDHOFF LL_I3C_IsEnabledHandOffDelay
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_SetConfigGETMXDS
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ctrl_handoff_activity
,
uint32_t
getmxds_format
,
uint32_t
data_turnaround_duration
,
uint32_t
max_read_turnaround
)
-
Configure GETMXDS response fields.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS,FMT,TSCO,RDTURN LL_I3C_SetConfigGETMXDS
Note
Programmable only when EN = 0.
- Parameters :
-
p_i3c – I3C Instance.
ctrl_handoff_activity – One of LL_I3C_HANDOFF_ACTIVITY_STATE_0..3 (HOFFAS bits).
getmxds_format – One of LL_I3C_GETMXDS_FORMAT_1 / _2_LSB / _2_MID / _2_MSB (FMT bits).
data_turnaround_duration – One of LL_I3C_TURNAROUND_TIME_TSCO_LESS_12NS or LL_I3C_TURNAROUND_TIME_TSCO_GREATER_12NS (TSCO bit).
max_read_turnaround – Value 0..0xF placed in RDTURN[3:0] (only used for format 2 variants).
-
void
LL_I3C_SetHandoffActivityState
(
I3C_TypeDef
*
p_i3c
,
uint32_t
handoff_activity_state
)
-
Configure the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_SetHandoffActivityState
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
handoff_activity_state – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetHandoffActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the activity state after controllership handoff.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR HOFFAS LL_I3C_GetHandoffActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMaxDataSpeedFormat
(
I3C_TypeDef
*
p_i3c
,
uint32_t
max_data_speed_format
)
-
Configure the max data speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_SetMaxDataSpeedFormat
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
max_data_speed_format – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetMaxDataSpeedFormat
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the max data Speed format response for GETMXDS CCC.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR FMT LL_I3C_GetMaxDataSpeedFormat
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMiddleByteTurnAround
(
I3C_TypeDef
*
p_i3c
,
uint32_t
middle_byte_turn_around
)
-
Configure the middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_SetMiddleByteTurnAround
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
middle_byte_turn_around – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMiddleByteTurnAround
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the value of middle byte of MaxRdTurn field of GETMXDS CCC format 2 with turnaround.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR RDTURN LL_I3C_GetMiddleByteTurnAround
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
void
LL_I3C_SetDataTurnAroundTime
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data_turn_around_time
)
-
Configure clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_SetDataTurnAroundTime
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
data_turn_around_time – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDataTurnAroundTime
(
const
I3C_TypeDef
*
p_i3c
)
-
Get clock-to-data turnaround time.
- Reference Manual to LL API cross reference (Register Field Functions)
-
GETMXDSR TSCO LL_I3C_GetDataTurnAroundTime
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_SetMIPIInstanceID
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mipi_instance_id
)
-
Configure the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_SetMIPIInstanceID
Note
Those bits can be programmed when the I3C is disabled (EN = 0).
- Parameters :
-
p_i3c – I3C Instance.
mipi_instance_id – This parameter must be a value between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetMIPIInstanceID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Instance ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIID LL_I3C_GetMIPIInstanceID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0xF.
-
uint32_t
LL_I3C_GetIDTypeSelector
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the ID type selector.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR IDTSEL LL_I3C_GetIDTypeSelector
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0x0 and Max_Data=0x1
-
uint32_t
LL_I3C_GetMIPIManufacturerID
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the MIPI Manufacturer ID.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EPIDR MIPIMID LL_I3C_GetMIPIManufacturerID
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 and Max_Data=0x7FFF.
-
void
LL_I3C_Enable
(
I3C_TypeDef
*
p_i3c
)
Management ¶
- group I3C_LL_EF_Data
-
Functions
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a reception data FIFO flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXFLUSH LL_I3C_RequestRxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestTxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a transmission data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestTxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestStatusFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a status data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SFLUSH LL_I3C_RequestStatusFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetEndOfFrameMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
eof_frame_config
)
-
Set End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_SetEndOfFrameMode
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
eof_frame_config – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetEndOfFrameMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_GetEndOfFrameMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get activity state of controller on the I3C Bus (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 AS LL_I3C_GetActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetResetAction
(
const
I3C_TypeDef
*
p_i3c
)
-
Get reset action (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTACT LL_I3C_GetResetAction
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_RequestControlFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a control word FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CFLUSH LL_I3C_RequestControlFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestFifosFlush
(
I3C_TypeDef
*
p_i3c
,
uint32_t
flush_mask
)
-
Request a combined flush of selected FIFOs (TX / RX / Status / Control).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestFifosFlush
CFGR RXFLUSH LL_I3C_RequestFifosFlush
CFGR SFLUSH LL_I3C_RequestFifosFlush
CFGR CFLUSH LL_I3C_RequestFifosFlush
Note
Each bit is auto cleared by hardware after the flush completes.
- Parameters :
-
p_i3c – I3C instance.
flush_mask – this parameter is a combination of the following values: I3C_CFGR_TXFLUSH (TX FIFO) I3C_CFGR_RXFLUSH (RX FIFO) I3C_CFGR_SFLUSH (Status FIFO) I3C_CFGR_CFLUSH (Control FIFO)
-
void
LL_I3C_RequestTransfer
(
I3C_TypeDef
*
p_i3c
)
-
Request a Transfer start.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TSFSET LL_I3C_RequestTransfer
Note
After request, the current instruction in control Register is executed on I3C Bus.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_addr
,
uint32_t
xfer_size
,
uint32_t
direction
,
uint32_t
msg_type
,
uint32_t
end_mode
)
-
Handles I3C message content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ADD LL_I3C_ControllerHandleMessage
CR DCNT LL_I3C_ControllerHandleMessage
CR RNW LL_I3C_ControllerHandleMessage
CR MTYPE LL_I3C_ControllerHandleMessage
CR MEND LL_I3C_ControllerHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
tgt_addr – Specifies the target address to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
xfer_size – Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
direction – This parameter can be one of the following values:
msg_type – This parameter can be one of the following values:
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_ControllerHeaderStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a header message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerHeaderStop
CR MEND LL_I3C_ControllerHeaderStop
Note
Only header (7’h7E arbitration) then STOP. Use when control FIFO disabled and a pure header cycle is required (e.g. bus idle insertion).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerReleaseStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a RELEASE message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerReleaseStop
CR MEND LL_I3C_ControllerReleaseStop
Note
RELEASE stops SCL until next instruction; then STOP is generated.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleCCC
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ccc_value
,
uint32_t
add_byte_size
,
uint32_t
end_mode
)
-
Handles I3C Common command Code content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CCC LL_I3C_ControllerHandleCCC
CR DCNT LL_I3C_ControllerHandleCCC
CR MTYPE LL_I3C_ControllerHandleCCC
CR MEND LL_I3C_ControllerHandleCCC
- Parameters :
-
p_i3c – I3C Instance.
ccc_value – Specifies the command Code to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0x1FF.
add_byte_size – Specifies the number of CCC additional bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_TargetHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
msg_type
,
uint32_t
ibi_size_byte
)
-
Handles I3C message content on the I3C Bus as target.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_TargetHandleMessage
CR DCNT LL_I3C_TargetHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
msg_type – This parameter can be one of the following values:
ibi_size_byte – Specifies the number of IBI bytes. This parameter must be a value between Min_Data=0 and Max_Data=65535.
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_Data
-
Functions
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a reception data FIFO flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXFLUSH LL_I3C_RequestRxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestTxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a transmission data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestTxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestStatusFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a status data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SFLUSH LL_I3C_RequestStatusFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetEndOfFrameMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
eof_frame_config
)
-
Set End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_SetEndOfFrameMode
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
eof_frame_config – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetEndOfFrameMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_GetEndOfFrameMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get activity state of controller on the I3C Bus (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 AS LL_I3C_GetActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetResetAction
(
const
I3C_TypeDef
*
p_i3c
)
-
Get reset action (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTACT LL_I3C_GetResetAction
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_RequestControlFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a control word FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CFLUSH LL_I3C_RequestControlFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestFifosFlush
(
I3C_TypeDef
*
p_i3c
,
uint32_t
flush_mask
)
-
Request a combined flush of selected FIFOs (TX / RX / Status / Control).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestFifosFlush
CFGR RXFLUSH LL_I3C_RequestFifosFlush
CFGR SFLUSH LL_I3C_RequestFifosFlush
CFGR CFLUSH LL_I3C_RequestFifosFlush
Note
Each bit is auto cleared by hardware after the flush completes.
- Parameters :
-
p_i3c – I3C instance.
flush_mask – this parameter is a combination of the following values: I3C_CFGR_TXFLUSH (TX FIFO) I3C_CFGR_RXFLUSH (RX FIFO) I3C_CFGR_SFLUSH (Status FIFO) I3C_CFGR_CFLUSH (Control FIFO)
-
void
LL_I3C_RequestTransfer
(
I3C_TypeDef
*
p_i3c
)
-
Request a Transfer start.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TSFSET LL_I3C_RequestTransfer
Note
After request, the current instruction in control Register is executed on I3C Bus.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_addr
,
uint32_t
xfer_size
,
uint32_t
direction
,
uint32_t
msg_type
,
uint32_t
end_mode
)
-
Handles I3C message content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ADD LL_I3C_ControllerHandleMessage
CR DCNT LL_I3C_ControllerHandleMessage
CR RNW LL_I3C_ControllerHandleMessage
CR MTYPE LL_I3C_ControllerHandleMessage
CR MEND LL_I3C_ControllerHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
tgt_addr – Specifies the target address to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
xfer_size – Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
direction – This parameter can be one of the following values:
msg_type – This parameter can be one of the following values:
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_ControllerHeaderStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a header message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerHeaderStop
CR MEND LL_I3C_ControllerHeaderStop
Note
Only header (7’h7E arbitration) then STOP. Use when control FIFO disabled and a pure header cycle is required (e.g. bus idle insertion).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerReleaseStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a RELEASE message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerReleaseStop
CR MEND LL_I3C_ControllerReleaseStop
Note
RELEASE stops SCL until next instruction; then STOP is generated.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleCCC
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ccc_value
,
uint32_t
add_byte_size
,
uint32_t
end_mode
)
-
Handles I3C Common command Code content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CCC LL_I3C_ControllerHandleCCC
CR DCNT LL_I3C_ControllerHandleCCC
CR MTYPE LL_I3C_ControllerHandleCCC
CR MEND LL_I3C_ControllerHandleCCC
- Parameters :
-
p_i3c – I3C Instance.
ccc_value – Specifies the command Code to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0x1FF.
add_byte_size – Specifies the number of CCC additional bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_TargetHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
msg_type
,
uint32_t
ibi_size_byte
)
-
Handles I3C message content on the I3C Bus as target.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_TargetHandleMessage
CR DCNT LL_I3C_TargetHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
msg_type – This parameter can be one of the following values:
ibi_size_byte – Specifies the number of IBI bytes. This parameter must be a value between Min_Data=0 and Max_Data=65535.
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_Data
-
Functions
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a reception data FIFO flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR RXFLUSH LL_I3C_RequestRxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestTxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a transmission data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestTxFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestStatusFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a status data FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR SFLUSH LL_I3C_RequestStatusFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_SetEndOfFrameMode
(
I3C_TypeDef
*
p_i3c
,
uint32_t
eof_frame_config
)
-
Set End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_SetEndOfFrameMode
Note
This bit can be modified only when there is no frame ongoing
- Parameters :
-
p_i3c – I3C Instance.
eof_frame_config – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetEndOfFrameMode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get End of Frame mode.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR FCFDIS LL_I3C_GetEndOfFrameMode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetActivityState
(
const
I3C_TypeDef
*
p_i3c
)
-
Get activity state of controller on the I3C Bus (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 AS LL_I3C_GetActivityState
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetResetAction
(
const
I3C_TypeDef
*
p_i3c
)
-
Get reset action (target only).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVR0 RSTACT LL_I3C_GetResetAction
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
void
LL_I3C_RequestControlFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
-
Request a control word FIFO Flush.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR CFLUSH LL_I3C_RequestControlFIFOFlush
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_RequestFifosFlush
(
I3C_TypeDef
*
p_i3c
,
uint32_t
flush_mask
)
-
Request a combined flush of selected FIFOs (TX / RX / Status / Control).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TXFLUSH LL_I3C_RequestFifosFlush
CFGR RXFLUSH LL_I3C_RequestFifosFlush
CFGR SFLUSH LL_I3C_RequestFifosFlush
CFGR CFLUSH LL_I3C_RequestFifosFlush
Note
Each bit is auto cleared by hardware after the flush completes.
- Parameters :
-
p_i3c – I3C instance.
flush_mask – this parameter is a combination of the following values: I3C_CFGR_TXFLUSH (TX FIFO) I3C_CFGR_RXFLUSH (RX FIFO) I3C_CFGR_SFLUSH (Status FIFO) I3C_CFGR_CFLUSH (Control FIFO)
-
void
LL_I3C_RequestTransfer
(
I3C_TypeDef
*
p_i3c
)
-
Request a Transfer start.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CFGR TSFSET LL_I3C_RequestTransfer
Note
After request, the current instruction in control Register is executed on I3C Bus.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
tgt_addr
,
uint32_t
xfer_size
,
uint32_t
direction
,
uint32_t
msg_type
,
uint32_t
end_mode
)
-
Handles I3C message content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR ADD LL_I3C_ControllerHandleMessage
CR DCNT LL_I3C_ControllerHandleMessage
CR RNW LL_I3C_ControllerHandleMessage
CR MTYPE LL_I3C_ControllerHandleMessage
CR MEND LL_I3C_ControllerHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
tgt_addr – Specifies the target address to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
xfer_size – Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
direction – This parameter can be one of the following values:
msg_type – This parameter can be one of the following values:
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_ControllerHeaderStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a header message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerHeaderStop
CR MEND LL_I3C_ControllerHeaderStop
Note
Only header (7’h7E arbitration) then STOP. Use when control FIFO disabled and a pure header cycle is required (e.g. bus idle insertion).
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerReleaseStop
(
I3C_TypeDef
*
p_i3c
)
-
Issue a RELEASE message followed by STOP (no data, no address field).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_ControllerReleaseStop
CR MEND LL_I3C_ControllerReleaseStop
Note
RELEASE stops SCL until next instruction; then STOP is generated.
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ControllerHandleCCC
(
I3C_TypeDef
*
p_i3c
,
uint32_t
ccc_value
,
uint32_t
add_byte_size
,
uint32_t
end_mode
)
-
Handles I3C Common command Code content on the I3C Bus as controller.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR CCC LL_I3C_ControllerHandleCCC
CR DCNT LL_I3C_ControllerHandleCCC
CR MTYPE LL_I3C_ControllerHandleCCC
CR MEND LL_I3C_ControllerHandleCCC
- Parameters :
-
p_i3c – I3C Instance.
ccc_value – Specifies the command Code to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=0x1FF.
add_byte_size – Specifies the number of CCC additional bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=65535.
end_mode – This parameter can be one of the following values:
-
void
LL_I3C_TargetHandleMessage
(
I3C_TypeDef
*
p_i3c
,
uint32_t
msg_type
,
uint32_t
ibi_size_byte
)
-
Handles I3C message content on the I3C Bus as target.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CR MTYPE LL_I3C_TargetHandleMessage
CR DCNT LL_I3C_TargetHandleMessage
- Parameters :
-
p_i3c – I3C Instance.
msg_type – This parameter can be one of the following values:
ibi_size_byte – Specifies the number of IBI bytes. This parameter must be a value between Min_Data=0 and Max_Data=65535.
-
void
LL_I3C_RequestRxFIFOFlush
(
I3C_TypeDef
*
p_i3c
)
Data_Management ¶
- group I3C_LL_EF_Data_Management
-
Functions
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data byte register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDR RDB0 LL_I3C_ReceiveData8
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF
-
void
LL_I3C_TransmitData8
(
I3C_TypeDef
*
p_i3c
,
uint8_t
data
)
-
Write in transmit data byte Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_TransmitData8
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_ReceiveData32
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDWR RDWR LL_I3C_ReceiveData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte received, LSB corresponds to first data byte received.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
void
LL_I3C_TransmitData32
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data
)
-
Write in transmit data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDWR TDWR LL_I3C_TransmitData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte transmitted, LSB corresponds to first data byte transmitted.
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_WriteControlWord
(
I3C_TypeDef
*
p_i3c
,
uint32_t
control_word
)
-
Write a single control word to CR.
- Reference Manual to LL API cross reference (Register Field Functions) CR LL_I3C_WriteControlWord
-
Note
Use when control FIFO (TMODE) is disabled and one instruction must be issued.
- Parameters :
-
p_i3c – I3C Instance.
control_word – 32-bit control word (ADD/DCNT/RNW/MTYPE/MEND bits as needed).
-
void
LL_I3C_SetIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_ibi_payload
)
-
Configure the IBI data payload to be sent during IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_SetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
own_ibi_payload – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the own IBI data payload (target mode), or get the target IBI received (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_GetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data bytes received when reading IBI data (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR IBIRDCNT LL_I3C_GetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7
-
uint32_t
LL_I3C_GetIBITargetAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target address received during accepted IBI or controller-role request.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RADD LL_I3C_GetIBITargetAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x3F
-
void
LL_I3C_ConfigTxPreload
(
I3C_TypeDef
*
p_i3c
,
uint16_t
tx_data_count
)
-
Set TX FIFO Preload (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_ConfigTxPreload
TGTTDR TDCNT LL_I3C_ConfigTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
tx_data_count – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsActiveTxPreload
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of TX FIFO preload (target mode). RESET: no preload of TX FIFO. SET: preload of TX FIFO ongoing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_IsActiveTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint16_t
LL_I3C_GetTxPreloadDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of bytes to transmit (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR TDCNT LL_I3C_GetTxPreloadDataCount
Note
The return value corresponds to the remaining number of bytes to load in TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetXferDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data during a transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR XDCNT LL_I3C_GetXferDataCount
Note
The return value corresponds to number of transmitted bytes reported during Address Assignment process in target mode. The return value corresponds to number of target detected during address Assignment process in controller mode. The return value corresponds to number of data bytes read from or sent to the I3C bus during the message link to MID current value.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsTargetAbortPrivateRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if a target abort a private read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR ABT LL_I3C_IsTargetAbortPrivateRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetMessageDirection
(
const
I3C_TypeDef
*
p_i3c
)
-
Get direction of the message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DIR LL_I3C_GetMessageDirection
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetMessageIdentifier
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message identifier.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR MID LL_I3C_GetMessageIdentifier
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF, representing the internal hardware counter value.
-
uint32_t
LL_I3C_GetMessageErrorCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message error code.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER CODERR LL_I3C_GetMessageErrorCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetReceiveCommandCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get CCC code of received command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RCODE LL_I3C_GetReceiveCommandCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF.
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_Data_Management
-
Functions
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data byte register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDR RDB0 LL_I3C_ReceiveData8
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF
-
void
LL_I3C_TransmitData8
(
I3C_TypeDef
*
p_i3c
,
uint8_t
data
)
-
Write in transmit data byte Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_TransmitData8
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_ReceiveData32
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDWR RDWR LL_I3C_ReceiveData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte received, LSB corresponds to first data byte received.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
void
LL_I3C_TransmitData32
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data
)
-
Write in transmit data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDWR TDWR LL_I3C_TransmitData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte transmitted, LSB corresponds to first data byte transmitted.
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_WriteControlWord
(
I3C_TypeDef
*
p_i3c
,
uint32_t
control_word
)
-
Write a single control word to CR.
- Reference Manual to LL API cross reference (Register Field Functions) CR LL_I3C_WriteControlWord
-
Note
Use when control FIFO (TMODE) is disabled and one instruction must be issued.
- Parameters :
-
p_i3c – I3C Instance.
control_word – 32-bit control word (ADD/DCNT/RNW/MTYPE/MEND bits as needed).
-
void
LL_I3C_SetIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_ibi_payload
)
-
Configure the IBI data payload to be sent during IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_SetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
own_ibi_payload – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the own IBI data payload (target mode), or get the target IBI received (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_GetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data bytes received when reading IBI data (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR IBIRDCNT LL_I3C_GetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7
-
uint32_t
LL_I3C_GetIBITargetAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target address received during accepted IBI or controller-role request.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RADD LL_I3C_GetIBITargetAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x3F
-
void
LL_I3C_ConfigTxPreload
(
I3C_TypeDef
*
p_i3c
,
uint16_t
tx_data_count
)
-
Set TX FIFO Preload (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_ConfigTxPreload
TGTTDR TDCNT LL_I3C_ConfigTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
tx_data_count – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsActiveTxPreload
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of TX FIFO preload (target mode). RESET: no preload of TX FIFO. SET: preload of TX FIFO ongoing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_IsActiveTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint16_t
LL_I3C_GetTxPreloadDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of bytes to transmit (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR TDCNT LL_I3C_GetTxPreloadDataCount
Note
The return value corresponds to the remaining number of bytes to load in TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetXferDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data during a transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR XDCNT LL_I3C_GetXferDataCount
Note
The return value corresponds to number of transmitted bytes reported during Address Assignment process in target mode. The return value corresponds to number of target detected during address Assignment process in controller mode. The return value corresponds to number of data bytes read from or sent to the I3C bus during the message link to MID current value.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsTargetAbortPrivateRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if a target abort a private read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR ABT LL_I3C_IsTargetAbortPrivateRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetMessageDirection
(
const
I3C_TypeDef
*
p_i3c
)
-
Get direction of the message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DIR LL_I3C_GetMessageDirection
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetMessageIdentifier
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message identifier.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR MID LL_I3C_GetMessageIdentifier
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF, representing the internal hardware counter value.
-
uint32_t
LL_I3C_GetMessageErrorCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message error code.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER CODERR LL_I3C_GetMessageErrorCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetReceiveCommandCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get CCC code of received command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RCODE LL_I3C_GetReceiveCommandCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF.
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_Data_Management
-
Functions
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data byte register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDR RDB0 LL_I3C_ReceiveData8
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF
-
void
LL_I3C_TransmitData8
(
I3C_TypeDef
*
p_i3c
,
uint8_t
data
)
-
Write in transmit data byte Register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDR TDB0 LL_I3C_TransmitData8
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFF.
-
uint32_t
LL_I3C_ReceiveData32
(
const
I3C_TypeDef
*
p_i3c
)
-
Read receive data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RDWR RDWR LL_I3C_ReceiveData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte received, LSB corresponds to first data byte received.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
void
LL_I3C_TransmitData32
(
I3C_TypeDef
*
p_i3c
,
uint32_t
data
)
-
Write in transmit data word register.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TDWR TDWR LL_I3C_TransmitData32
Note
Content of register is filled in Little Endian. The MSB corresponds to the last data byte transmitted, LSB corresponds to first data byte transmitted.
- Parameters :
-
p_i3c – I3C Instance.
data – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF.
-
void
LL_I3C_WriteControlWord
(
I3C_TypeDef
*
p_i3c
,
uint32_t
control_word
)
-
Write a single control word to CR.
- Reference Manual to LL API cross reference (Register Field Functions) CR LL_I3C_WriteControlWord
-
Note
Use when control FIFO (TMODE) is disabled and one instruction must be issued.
- Parameters :
-
p_i3c – I3C Instance.
control_word – 32-bit control word (ADD/DCNT/RNW/MTYPE/MEND bits as needed).
-
void
LL_I3C_SetIBIPayload
(
I3C_TypeDef
*
p_i3c
,
uint32_t
own_ibi_payload
)
-
Configure the IBI data payload to be sent during IBI (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_SetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
own_ibi_payload – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetIBIPayload
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the own IBI data payload (target mode), or get the target IBI received (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
IBIDR IBIDR LL_I3C_GetIBIPayload
Note
Content of register is filled in Little Endian. Mean MSB corresponds to last IBI data byte, LSB corresponds to first IBI data byte.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFFFFFF
-
uint32_t
LL_I3C_GetNbIBIAddData
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data bytes received when reading IBI data (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR IBIRDCNT LL_I3C_GetNbIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7
-
uint32_t
LL_I3C_GetIBITargetAddr
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the target address received during accepted IBI or controller-role request.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RADD LL_I3C_GetIBITargetAddr
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x3F
-
void
LL_I3C_ConfigTxPreload
(
I3C_TypeDef
*
p_i3c
,
uint16_t
tx_data_count
)
-
Set TX FIFO Preload (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_ConfigTxPreload
TGTTDR TDCNT LL_I3C_ConfigTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
tx_data_count – This parameter must be a value between Min_Data=0 and Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsActiveTxPreload
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of TX FIFO preload (target mode). RESET: no preload of TX FIFO. SET: preload of TX FIFO ongoing.
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR PRELOAD LL_I3C_IsActiveTxPreload
Note
Set high by Software, cleared by hardware when all the bytes to transmit have been loaded to TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint16_t
LL_I3C_GetTxPreloadDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of bytes to transmit (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
TGTTDR TDCNT LL_I3C_GetTxPreloadDataCount
Note
The return value corresponds to the remaining number of bytes to load in TX FIFO.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_GetXferDataCount
(
const
I3C_TypeDef
*
p_i3c
)
-
Get the number of data during a transfer.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR XDCNT LL_I3C_GetXferDataCount
Note
The return value corresponds to number of transmitted bytes reported during Address Assignment process in target mode. The return value corresponds to number of target detected during address Assignment process in controller mode. The return value corresponds to number of data bytes read from or sent to the I3C bus during the message link to MID current value.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFFFF
-
uint32_t
LL_I3C_IsTargetAbortPrivateRead
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates if a target abort a private read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR ABT LL_I3C_IsTargetAbortPrivateRead
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_GetMessageDirection
(
const
I3C_TypeDef
*
p_i3c
)
-
Get direction of the message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR DIR LL_I3C_GetMessageDirection
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetMessageIdentifier
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message identifier.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SR MID LL_I3C_GetMessageIdentifier
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF, representing the internal hardware counter value.
-
uint32_t
LL_I3C_GetMessageErrorCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get message error code.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER CODERR LL_I3C_GetMessageErrorCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Returned – value can be one of the following values:
-
uint32_t
LL_I3C_GetReceiveCommandCode
(
const
I3C_TypeDef
*
p_i3c
)
-
Get CCC code of received command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
RMR RCODE LL_I3C_GetReceiveCommandCode
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
Value – between Min_Data=0 to Max_Data=0xFF.
-
uint8_t
LL_I3C_ReceiveData8
(
const
I3C_TypeDef
*
p_i3c
)
Payload ¶
- group I3C_LL_EF_Target
-
Functions
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
-
Set dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
-
uint32_t
LL_I3C_GetTargetDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Get dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7F
-
void
LL_I3C_EnableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable IBI acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_EnableTargetIBIAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable IBI acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_DisableTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetIBIAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if IBI from target x will be Acknowledged or not Acknowledged (controller mode). RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_IsEnabledTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable controller-role request acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_EnableTargetCRAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable controller-role request acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_DisableTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetCRAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if controller-role request from target x will be Acknowledged or not Acknowledged (controller mode). RESET: controller-role request not Acknowledged. SET: controller-role request Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_IsEnabledTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_EnableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_DisableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledIBIAddData
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if additional Mandatory data Byte (MDB) follows the accepted IBI from target x. RESET: no Mandatory data Byte follows IBI. SET: mandatory data Byte follows IBI.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_IsEnabledIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_EnableFrameSuspend
Note
When set, this feature will allow controller to send a stop condition and CR FIFO is flushed after IBI treatment. Software has to rewrite instructions in control Register to start a new transfer.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_DisableFrameSuspend
Note
When set, this feature will allow controller to continue CR FIFO treatment after IBI treatment.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsFrameMustBeSuspended
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if I3C transfer must be Suspended or not Suspended during IBI treatment from target x. RESET: transfer is not suspended. Instruction in CR FIFO are executed after IBI. SET: transfer is suspended (a stop condition is sent). CR FIFO is flushed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_IsFrameMustBeSuspended
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsAllowedPayloadUpdate
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if update of the device Characteristics Register is Allowed or not Allowed. RESET: device Characteristics Register update is not Allowed. SET: device Characteristics Register update is Allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DIS LL_I3C_IsAllowedPayloadUpdate
Note
Used to prevent software writing during reception of an IBI or controller-role request from target x.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigDeviceCapabilities
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set I3C bus devices configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_ConfigDeviceCapabilities
DEVRX IBIACK LL_I3C_ConfigDeviceCapabilities
DEVRX IBIDEN LL_I3C_ConfigDeviceCapabilities
DEVRX CRACK LL_I3C_ConfigDeviceCapabilities
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
void
LL_I3C_SetDevrx
(
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
Susp
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set DEVRx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetDevrx
DEVRX IBIACK LL_I3C_SetDevrx
DEVRX IBIDEN LL_I3C_SetDevrx
DEVRX SUSP LL_I3C_SetDevrx
DEVRX CRACK LL_I3C_SetDevrx
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
Susp – This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDevrx
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
)
-
Get DEVRx raw register value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetDevrx
DEVRX IBIACK LL_I3C_GetDevrx
DEVRX IBIDEN LL_I3C_GetDevrx
DEVRX SUSP LL_I3C_GetDevrx
DEVRX CRACK LL_I3C_GetDevrx
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
- Return values :
-
Raw – 32-bit value of DEVRX[devrx_index].
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
- group I3C_LL_EF_Target
-
Functions
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
-
Set dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
-
uint32_t
LL_I3C_GetTargetDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Get dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7F
-
void
LL_I3C_EnableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable IBI acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_EnableTargetIBIAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable IBI acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_DisableTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetIBIAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if IBI from target x will be Acknowledged or not Acknowledged (controller mode). RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_IsEnabledTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable controller-role request acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_EnableTargetCRAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable controller-role request acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_DisableTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetCRAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if controller-role request from target x will be Acknowledged or not Acknowledged (controller mode). RESET: controller-role request not Acknowledged. SET: controller-role request Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_IsEnabledTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_EnableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_DisableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledIBIAddData
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if additional Mandatory data Byte (MDB) follows the accepted IBI from target x. RESET: no Mandatory data Byte follows IBI. SET: mandatory data Byte follows IBI.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_IsEnabledIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_EnableFrameSuspend
Note
When set, this feature will allow controller to send a stop condition and CR FIFO is flushed after IBI treatment. Software has to rewrite instructions in control Register to start a new transfer.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_DisableFrameSuspend
Note
When set, this feature will allow controller to continue CR FIFO treatment after IBI treatment.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsFrameMustBeSuspended
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if I3C transfer must be Suspended or not Suspended during IBI treatment from target x. RESET: transfer is not suspended. Instruction in CR FIFO are executed after IBI. SET: transfer is suspended (a stop condition is sent). CR FIFO is flushed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_IsFrameMustBeSuspended
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsAllowedPayloadUpdate
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if update of the device Characteristics Register is Allowed or not Allowed. RESET: device Characteristics Register update is not Allowed. SET: device Characteristics Register update is Allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DIS LL_I3C_IsAllowedPayloadUpdate
Note
Used to prevent software writing during reception of an IBI or controller-role request from target x.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigDeviceCapabilities
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set I3C bus devices configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_ConfigDeviceCapabilities
DEVRX IBIACK LL_I3C_ConfigDeviceCapabilities
DEVRX IBIDEN LL_I3C_ConfigDeviceCapabilities
DEVRX CRACK LL_I3C_ConfigDeviceCapabilities
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
void
LL_I3C_SetDevrx
(
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
Susp
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set DEVRx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetDevrx
DEVRX IBIACK LL_I3C_SetDevrx
DEVRX IBIDEN LL_I3C_SetDevrx
DEVRX SUSP LL_I3C_SetDevrx
DEVRX CRACK LL_I3C_SetDevrx
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
Susp – This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDevrx
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
)
-
Get DEVRx raw register value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetDevrx
DEVRX IBIACK LL_I3C_GetDevrx
DEVRX IBIDEN LL_I3C_GetDevrx
DEVRX SUSP LL_I3C_GetDevrx
DEVRX CRACK LL_I3C_GetDevrx
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
- Return values :
-
Raw – 32-bit value of DEVRX[devrx_index].
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
- group I3C_LL_EF_Target
-
Functions
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
-
Set dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
-
uint32_t
LL_I3C_GetTargetDynamicAddress
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Get dynamic address assigned to target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetTargetDynamicAddress
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
Value – between Min_Data=0 to Max_Data=0x7F
-
void
LL_I3C_EnableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable IBI acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_EnableTargetIBIAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetIBIAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable IBI acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_DisableTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetIBIAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if IBI from target x will be Acknowledged or not Acknowledged (controller mode). RESET: IBI not Acknowledged. SET: IBI Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIACK LL_I3C_IsEnabledTargetIBIAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable controller-role request acknowledgement from target x(controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_EnableTargetCRAck
Note
The bit DIS is automatically set when CRACK or IBIACK are set. This means DEVRX register access is not allowed. Reset CRACK and IBIACK will reset DIS bit.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableTargetCRAck
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable controller-role request acknowledgement from target x (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_DisableTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledTargetCRAck
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if controller-role request from target x will be Acknowledged or not Acknowledged (controller mode). RESET: controller-role request not Acknowledged. SET: controller-role request Acknowledged.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX CRACK LL_I3C_IsEnabledTargetCRAck
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_EnableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableIBIAddData
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable additional Mandatory data Byte (MDB) follows the accepted IBI from target x.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_DisableIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsEnabledIBIAddData
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if additional Mandatory data Byte (MDB) follows the accepted IBI from target x. RESET: no Mandatory data Byte follows IBI. SET: mandatory data Byte follows IBI.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX IBIDEN LL_I3C_IsEnabledIBIAddData
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Enable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_EnableFrameSuspend
Note
When set, this feature will allow controller to send a stop condition and CR FIFO is flushed after IBI treatment. Software has to rewrite instructions in control Register to start a new transfer.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
void
LL_I3C_DisableFrameSuspend
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Disable Suspension of Current transfer during IBI treatment.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_DisableFrameSuspend
Note
When set, this feature will allow controller to continue CR FIFO treatment after IBI treatment.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
-
uint32_t
LL_I3C_IsFrameMustBeSuspended
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if I3C transfer must be Suspended or not Suspended during IBI treatment from target x. RESET: transfer is not suspended. Instruction in CR FIFO are executed after IBI. SET: transfer is suspended (a stop condition is sent). CR FIFO is flushed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX SUSP LL_I3C_IsFrameMustBeSuspended
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsAllowedPayloadUpdate
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
)
-
Indicates if update of the device Characteristics Register is Allowed or not Allowed. RESET: device Characteristics Register update is not Allowed. SET: device Characteristics Register update is Allowed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DIS LL_I3C_IsAllowedPayloadUpdate
Note
Used to prevent software writing during reception of an IBI or controller-role request from target x.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ConfigDeviceCapabilities
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set I3C bus devices configuration.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_ConfigDeviceCapabilities
DEVRX IBIACK LL_I3C_ConfigDeviceCapabilities
DEVRX IBIDEN LL_I3C_ConfigDeviceCapabilities
DEVRX CRACK LL_I3C_ConfigDeviceCapabilities
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
target_id – This parameter must be a value between Min_Data=1 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
void
LL_I3C_SetDevrx
(
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
,
uint32_t
dynamic_addr
,
uint32_t
IBIAck
,
uint32_t
Susp
,
uint32_t
IBIAddData
,
uint32_t
CRAck
)
-
Set DEVRx.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_SetDevrx
DEVRX IBIACK LL_I3C_SetDevrx
DEVRX IBIDEN LL_I3C_SetDevrx
DEVRX SUSP LL_I3C_SetDevrx
DEVRX CRACK LL_I3C_SetDevrx
Note
This function is called only when the I3C instance is initialized as controller. This function can be called by the controller application to help the automatic treatment when target have capability of IBI and/or control-Role.
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
dynamic_addr – Value between Min_Data=0 to Max_Data=0x7F
IBIAck – Value This parameter can be one of the following values:
Susp – This parameter can be one of the following values:
IBIAddData – This parameter can be one of the following values:
CRAck – This parameter can be one of the following values:
-
uint32_t
LL_I3C_GetDevrx
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
devrx_index
)
-
Get DEVRx raw register value.
- Reference Manual to LL API cross reference (Register Field Functions)
-
DEVRX DA LL_I3C_GetDevrx
DEVRX IBIACK LL_I3C_GetDevrx
DEVRX IBIDEN LL_I3C_GetDevrx
DEVRX SUSP LL_I3C_GetDevrx
DEVRX CRACK LL_I3C_GetDevrx
- Parameters :
-
p_i3c – I3C Instance.
devrx_index – This parameter must be a value between Min_Data=0 and Max_Data=4
- Return values :
-
Raw – 32-bit value of DEVRX[devrx_index].
-
void
LL_I3C_SetTargetDynamicAddress
(
I3C_TypeDef
*
p_i3c
,
uint32_t
target_id
,
uint32_t
dynamic_addr
)
FLAG_management ¶
- group I3C_LL_EF_FLAG_management
-
Functions
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Check if one of the flags is active.
- Reference Manual to LL API cross reference (Register Field Functions) EVR LL_I3C_IsActiveFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – I3C_LL_EC_GET_FLAG.
- Return values :
-
0 – no flag is set
1 – at least one of the flags is set
-
uint32_t
LL_I3C_IsActiveFlag_CFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO empty flag. RESET: one or more data are available in control FIFO. SET: no more data available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFEF LL_I3C_IsActiveFlag_CFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO empty flag. RESET: one or more data are available in transmit FIFO. SET: no more data available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFEF LL_I3C_IsActiveFlag_TXFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO not full flag. RESET: one or more free space available in control FIFO. SET: no more free space available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFNFF LL_I3C_IsActiveFlag_CFNF
Note
When a transfer is ongoing, the control FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of status FIFO not empty flag. RESET: one or more free space available in status FIFO. SET: no more free space available in status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR SFNEF LL_I3C_IsActiveFlag_SFNE
Note
This flag is updated only when the FIFO is used, mean SMODE = 1.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO not full flag. RESET: one or more free space available in transmit FIFO. SET: no more free space available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFNFF LL_I3C_IsActiveFlag_TXFNF
Note
When a transfer is ongoing, the transmit FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of receive FIFO not full flag. RESET: one or more data are available in receive FIFO. SET: no more data available in receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXFNEF LL_I3C_IsActiveFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last receive byte is available. RESET: clear default value. SET: last receive byte ready to read from receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXLASTF LL_I3C_IsActiveFlag_RXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last transmit byte is written in FIFO. RESET: transmission is not finalized. SET: last transmit byte is written in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXLASTF LL_I3C_IsActiveFlag_TXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Frame Complete flag (controller and target mode). RESET: current Frame transfer is not finalized. SET: current Frame transfer is completed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR FCF LL_I3C_IsActiveFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reception target end flag (controller mode). RESET: clear default value. SET: target prematurely ended a read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXTGTENDF LL_I3C_IsActiveFlag_RXTGTEND
Note
This flag is set only when status FIFO is not used, mean SMODE = 0.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of error flag (controller and target mode). RESET: clear default value. SET: One or more Errors are detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ERRF LL_I3C_IsActiveFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI flag (controller mode). RESET: clear default value. SET: An IBI has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIF LL_I3C_IsActiveFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI end flag (target mode). RESET: clear default value. SET: IBI procedure is finished.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIENDF LL_I3C_IsActiveFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request flag (controller mode). RESET: clear default value. SET: a controller-role request procedure has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CRF LL_I3C_IsActiveFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request update flag (target mode). RESET: clear default value. SET: I3C device has gained controller-role of the I3C Bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR BCUPDF LL_I3C_IsActiveFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Hot-Join flag (controller mode). RESET: clear default value. SET: a Hot-Join request has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR HJF LL_I3C_IsActiveFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of wakeup flag (target mode). RESET: clear default value. SET: I3C Internal clock not available on time to treat the falling edge on SCL.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR WKPF LL_I3C_IsActiveFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get flag (target mode). RESET: clear default value. SET: a “get” type CCC has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GETF LL_I3C_IsActiveFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get status flag (target mode). RESET: clear default value. SET: a GETSTATUS command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR STAF LL_I3C_IsActiveFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of dynamic address update flag (target mode). RESET: clear default value. SET: own dynamic address has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DAUPDF LL_I3C_IsActiveFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max write length flag (target mode). RESET: clear default value. SET: max write length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MWLUPDF LL_I3C_IsActiveFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max read length flag (target mode). RESET: clear default value. SET: max read length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MRLUPDF LL_I3C_IsActiveFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reset flag (target mode). RESET: clear default value. SET: a reset pattern has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RSTF LL_I3C_IsActiveFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of active state flag (target mode). RESET: clear default value. SET: the activity state has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ASUPDF LL_I3C_IsActiveFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of interrupt update flag (target mode). RESET: clear default value. SET: One or more authorized interrupts have been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR INTUPDF LL_I3C_IsActiveFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list targets flag (target mode). RESET: clear default value. SET: a define list targets command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DEFF LL_I3C_IsActiveFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list Group addresses flag. RESET: clear default value. SET: define list Group addresses have been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GRPF LL_I3C_IsActiveFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_PERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Protocol error flag. RESET: clear default value. SET: protocol error detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER PERR LL_I3C_IsActiveFlag_PERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STALL
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of SCL Stall error flag (target mode). RESET: clear default value. SET: target detected that SCL was stable for more than 125us during I3C SDR read.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER STALL LL_I3C_IsActiveFlag_STALL
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DOVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of RX or TX FIFO Overrun flag. RESET: clear default value. SET: RX FIFO full or TX FIFO empty depending of direction of message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DOVR LL_I3C_IsActiveFlag_DOVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_COVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control or status FIFO Overrun flag (controller mode). RESET: clear default value. SET: status FIFO full or control FIFO empty after Restart.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER COVR LL_I3C_IsActiveFlag_COVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ANACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of address not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed static or dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER ANACK LL_I3C_IsActiveFlag_ANACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DNACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed data byte.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DNACK LL_I3C_IsActiveFlag_DNACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data error flag (controller mode). RESET: clear default value. SET: controller detected data error during controller-role handoff process.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DERR LL_I3C_IsActiveFlag_DERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ClearFlag_FC
(
I3C_TypeDef
*
p_i3c
)
-
Clear Frame Complete flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CFCF LL_I3C_ClearFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear reception target end flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRXTGTENDF LL_I3C_ClearFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Clear error flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CERRF LL_I3C_ClearFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIF LL_I3C_ClearFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI end flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIENDF LL_I3C_ClearFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CR
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRF LL_I3C_ClearFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRUPDF LL_I3C_ClearFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Clear Hot-Join flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CHJF LL_I3C_ClearFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Clear wakeup flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CWKPF LL_I3C_ClearFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GET
(
I3C_TypeDef
*
p_i3c
)
-
Clear get flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGETF LL_I3C_ClearFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_STA
(
I3C_TypeDef
*
p_i3c
)
-
Clear get status flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CSTAF LL_I3C_ClearFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear dynamic address update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDAUPDF LL_I3C_ClearFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max write length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMWLUPDF LL_I3C_ClearFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max read length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMRLUPDF LL_I3C_ClearFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RST
(
I3C_TypeDef
*
p_i3c
)
-
Clear reset flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRSTF LL_I3C_ClearFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear active state flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CASUPDF LL_I3C_ClearFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear interrupt update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CINTUPDF LL_I3C_ClearFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list targets flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDEFF LL_I3C_ClearFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGRPF LL_I3C_ClearFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
- group I3C_LL_EF_FLAG_management
-
Functions
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Check if one of the flags is active.
- Reference Manual to LL API cross reference (Register Field Functions) EVR LL_I3C_IsActiveFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – I3C_LL_EC_GET_FLAG.
- Return values :
-
0 – no flag is set
1 – at least one of the flags is set
-
uint32_t
LL_I3C_IsActiveFlag_CFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO empty flag. RESET: one or more data are available in control FIFO. SET: no more data available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFEF LL_I3C_IsActiveFlag_CFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO empty flag. RESET: one or more data are available in transmit FIFO. SET: no more data available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFEF LL_I3C_IsActiveFlag_TXFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO not full flag. RESET: one or more free space available in control FIFO. SET: no more free space available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFNFF LL_I3C_IsActiveFlag_CFNF
Note
When a transfer is ongoing, the control FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of status FIFO not empty flag. RESET: one or more free space available in status FIFO. SET: no more free space available in status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR SFNEF LL_I3C_IsActiveFlag_SFNE
Note
This flag is updated only when the FIFO is used, mean SMODE = 1.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO not full flag. RESET: one or more free space available in transmit FIFO. SET: no more free space available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFNFF LL_I3C_IsActiveFlag_TXFNF
Note
When a transfer is ongoing, the transmit FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of receive FIFO not full flag. RESET: one or more data are available in receive FIFO. SET: no more data available in receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXFNEF LL_I3C_IsActiveFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last receive byte is available. RESET: clear default value. SET: last receive byte ready to read from receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXLASTF LL_I3C_IsActiveFlag_RXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last transmit byte is written in FIFO. RESET: transmission is not finalized. SET: last transmit byte is written in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXLASTF LL_I3C_IsActiveFlag_TXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Frame Complete flag (controller and target mode). RESET: current Frame transfer is not finalized. SET: current Frame transfer is completed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR FCF LL_I3C_IsActiveFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reception target end flag (controller mode). RESET: clear default value. SET: target prematurely ended a read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXTGTENDF LL_I3C_IsActiveFlag_RXTGTEND
Note
This flag is set only when status FIFO is not used, mean SMODE = 0.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of error flag (controller and target mode). RESET: clear default value. SET: One or more Errors are detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ERRF LL_I3C_IsActiveFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI flag (controller mode). RESET: clear default value. SET: An IBI has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIF LL_I3C_IsActiveFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI end flag (target mode). RESET: clear default value. SET: IBI procedure is finished.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIENDF LL_I3C_IsActiveFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request flag (controller mode). RESET: clear default value. SET: a controller-role request procedure has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CRF LL_I3C_IsActiveFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request update flag (target mode). RESET: clear default value. SET: I3C device has gained controller-role of the I3C Bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR BCUPDF LL_I3C_IsActiveFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Hot-Join flag (controller mode). RESET: clear default value. SET: a Hot-Join request has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR HJF LL_I3C_IsActiveFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of wakeup flag (target mode). RESET: clear default value. SET: I3C Internal clock not available on time to treat the falling edge on SCL.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR WKPF LL_I3C_IsActiveFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get flag (target mode). RESET: clear default value. SET: a “get” type CCC has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GETF LL_I3C_IsActiveFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get status flag (target mode). RESET: clear default value. SET: a GETSTATUS command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR STAF LL_I3C_IsActiveFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of dynamic address update flag (target mode). RESET: clear default value. SET: own dynamic address has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DAUPDF LL_I3C_IsActiveFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max write length flag (target mode). RESET: clear default value. SET: max write length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MWLUPDF LL_I3C_IsActiveFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max read length flag (target mode). RESET: clear default value. SET: max read length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MRLUPDF LL_I3C_IsActiveFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reset flag (target mode). RESET: clear default value. SET: a reset pattern has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RSTF LL_I3C_IsActiveFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of active state flag (target mode). RESET: clear default value. SET: the activity state has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ASUPDF LL_I3C_IsActiveFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of interrupt update flag (target mode). RESET: clear default value. SET: One or more authorized interrupts have been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR INTUPDF LL_I3C_IsActiveFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list targets flag (target mode). RESET: clear default value. SET: a define list targets command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DEFF LL_I3C_IsActiveFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list Group addresses flag. RESET: clear default value. SET: define list Group addresses have been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GRPF LL_I3C_IsActiveFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_PERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Protocol error flag. RESET: clear default value. SET: protocol error detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER PERR LL_I3C_IsActiveFlag_PERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STALL
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of SCL Stall error flag (target mode). RESET: clear default value. SET: target detected that SCL was stable for more than 125us during I3C SDR read.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER STALL LL_I3C_IsActiveFlag_STALL
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DOVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of RX or TX FIFO Overrun flag. RESET: clear default value. SET: RX FIFO full or TX FIFO empty depending of direction of message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DOVR LL_I3C_IsActiveFlag_DOVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_COVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control or status FIFO Overrun flag (controller mode). RESET: clear default value. SET: status FIFO full or control FIFO empty after Restart.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER COVR LL_I3C_IsActiveFlag_COVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ANACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of address not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed static or dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER ANACK LL_I3C_IsActiveFlag_ANACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DNACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed data byte.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DNACK LL_I3C_IsActiveFlag_DNACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data error flag (controller mode). RESET: clear default value. SET: controller detected data error during controller-role handoff process.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DERR LL_I3C_IsActiveFlag_DERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ClearFlag_FC
(
I3C_TypeDef
*
p_i3c
)
-
Clear Frame Complete flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CFCF LL_I3C_ClearFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear reception target end flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRXTGTENDF LL_I3C_ClearFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Clear error flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CERRF LL_I3C_ClearFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIF LL_I3C_ClearFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI end flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIENDF LL_I3C_ClearFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CR
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRF LL_I3C_ClearFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRUPDF LL_I3C_ClearFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Clear Hot-Join flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CHJF LL_I3C_ClearFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Clear wakeup flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CWKPF LL_I3C_ClearFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GET
(
I3C_TypeDef
*
p_i3c
)
-
Clear get flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGETF LL_I3C_ClearFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_STA
(
I3C_TypeDef
*
p_i3c
)
-
Clear get status flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CSTAF LL_I3C_ClearFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear dynamic address update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDAUPDF LL_I3C_ClearFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max write length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMWLUPDF LL_I3C_ClearFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max read length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMRLUPDF LL_I3C_ClearFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RST
(
I3C_TypeDef
*
p_i3c
)
-
Clear reset flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRSTF LL_I3C_ClearFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear active state flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CASUPDF LL_I3C_ClearFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear interrupt update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CINTUPDF LL_I3C_ClearFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list targets flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDEFF LL_I3C_ClearFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGRPF LL_I3C_ClearFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
- group I3C_LL_EF_FLAG_management
-
Functions
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
-
Check if one of the flags is active.
- Reference Manual to LL API cross reference (Register Field Functions) EVR LL_I3C_IsActiveFlag
-
- Parameters :
-
p_i3c – I3C Instance.
flags – I3C_LL_EC_GET_FLAG.
- Return values :
-
0 – no flag is set
1 – at least one of the flags is set
-
uint32_t
LL_I3C_IsActiveFlag_CFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO empty flag. RESET: one or more data are available in control FIFO. SET: no more data available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFEF LL_I3C_IsActiveFlag_CFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO empty flag. RESET: one or more data are available in transmit FIFO. SET: no more data available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFEF LL_I3C_IsActiveFlag_TXFE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control FIFO not full flag. RESET: one or more free space available in control FIFO. SET: no more free space available in control FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CFNFF LL_I3C_IsActiveFlag_CFNF
Note
When a transfer is ongoing, the control FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of status FIFO not empty flag. RESET: one or more free space available in status FIFO. SET: no more free space available in status FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR SFNEF LL_I3C_IsActiveFlag_SFNE
Note
This flag is updated only when the FIFO is used, mean SMODE = 1.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of transmit FIFO not full flag. RESET: one or more free space available in transmit FIFO. SET: no more free space available in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXFNFF LL_I3C_IsActiveFlag_TXFNF
Note
When a transfer is ongoing, the transmit FIFO must not be written unless this flag is set.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of receive FIFO not full flag. RESET: one or more data are available in receive FIFO. SET: no more data available in receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXFNEF LL_I3C_IsActiveFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last receive byte is available. RESET: clear default value. SET: last receive byte ready to read from receive FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXLASTF LL_I3C_IsActiveFlag_RXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_TXLAST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates that the last transmit byte is written in FIFO. RESET: transmission is not finalized. SET: last transmit byte is written in transmit FIFO.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR TXLASTF LL_I3C_IsActiveFlag_TXLAST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Frame Complete flag (controller and target mode). RESET: current Frame transfer is not finalized. SET: current Frame transfer is completed.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR FCF LL_I3C_IsActiveFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reception target end flag (controller mode). RESET: clear default value. SET: target prematurely ended a read command.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RXTGTENDF LL_I3C_IsActiveFlag_RXTGTEND
Note
This flag is set only when status FIFO is not used, mean SMODE = 0.
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of error flag (controller and target mode). RESET: clear default value. SET: One or more Errors are detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ERRF LL_I3C_IsActiveFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI flag (controller mode). RESET: clear default value. SET: An IBI has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIF LL_I3C_IsActiveFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of IBI end flag (target mode). RESET: clear default value. SET: IBI procedure is finished.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR IBIENDF LL_I3C_IsActiveFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request flag (controller mode). RESET: clear default value. SET: a controller-role request procedure has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR CRF LL_I3C_IsActiveFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of controller-role request update flag (target mode). RESET: clear default value. SET: I3C device has gained controller-role of the I3C Bus.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR BCUPDF LL_I3C_IsActiveFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Hot-Join flag (controller mode). RESET: clear default value. SET: a Hot-Join request has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR HJF LL_I3C_IsActiveFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of wakeup flag (target mode). RESET: clear default value. SET: I3C Internal clock not available on time to treat the falling edge on SCL.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR WKPF LL_I3C_IsActiveFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get flag (target mode). RESET: clear default value. SET: a “get” type CCC has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GETF LL_I3C_IsActiveFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of get status flag (target mode). RESET: clear default value. SET: a GETSTATUS command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR STAF LL_I3C_IsActiveFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of dynamic address update flag (target mode). RESET: clear default value. SET: own dynamic address has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DAUPDF LL_I3C_IsActiveFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max write length flag (target mode). RESET: clear default value. SET: max write length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MWLUPDF LL_I3C_IsActiveFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of max read length flag (target mode). RESET: clear default value. SET: max read length has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR MRLUPDF LL_I3C_IsActiveFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of reset flag (target mode). RESET: clear default value. SET: a reset pattern has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR RSTF LL_I3C_IsActiveFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of active state flag (target mode). RESET: clear default value. SET: the activity state has been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR ASUPDF LL_I3C_IsActiveFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of interrupt update flag (target mode). RESET: clear default value. SET: One or more authorized interrupts have been updated.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR INTUPDF LL_I3C_IsActiveFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list targets flag (target mode). RESET: clear default value. SET: a define list targets command has been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR DEFF LL_I3C_IsActiveFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of define list Group addresses flag. RESET: clear default value. SET: define list Group addresses have been received.
- Reference Manual to LL API cross reference (Register Field Functions)
-
EVR GRPF LL_I3C_IsActiveFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_PERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of Protocol error flag. RESET: clear default value. SET: protocol error detected.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER PERR LL_I3C_IsActiveFlag_PERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_STALL
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of SCL Stall error flag (target mode). RESET: clear default value. SET: target detected that SCL was stable for more than 125us during I3C SDR read.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER STALL LL_I3C_IsActiveFlag_STALL
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DOVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of RX or TX FIFO Overrun flag. RESET: clear default value. SET: RX FIFO full or TX FIFO empty depending of direction of message.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DOVR LL_I3C_IsActiveFlag_DOVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_COVR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of control or status FIFO Overrun flag (controller mode). RESET: clear default value. SET: status FIFO full or control FIFO empty after Restart.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER COVR LL_I3C_IsActiveFlag_COVR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_ANACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of address not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed static or dynamic address.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER ANACK LL_I3C_IsActiveFlag_ANACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DNACK
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data not acknowledged flag (controller mode). RESET: clear default value. SET: controller detected that target NACKed data byte.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DNACK LL_I3C_IsActiveFlag_DNACK
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveFlag_DERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of data error flag (controller mode). RESET: clear default value. SET: controller detected data error during controller-role handoff process.
- Reference Manual to LL API cross reference (Register Field Functions)
-
SER DERR LL_I3C_IsActiveFlag_DERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_ClearFlag_FC
(
I3C_TypeDef
*
p_i3c
)
-
Clear Frame Complete flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CFCF LL_I3C_ClearFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear reception target end flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRXTGTENDF LL_I3C_ClearFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Clear error flag (controller and target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CERRF LL_I3C_ClearFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIF LL_I3C_ClearFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Clear IBI end flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CIBIENDF LL_I3C_ClearFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CR
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRF LL_I3C_ClearFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear controller-role request update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CCRUPDF LL_I3C_ClearFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Clear Hot-Join flag (controller mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CHJF LL_I3C_ClearFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Clear wakeup flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CWKPF LL_I3C_ClearFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GET
(
I3C_TypeDef
*
p_i3c
)
-
Clear get flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGETF LL_I3C_ClearFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_STA
(
I3C_TypeDef
*
p_i3c
)
-
Clear get status flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CSTAF LL_I3C_ClearFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear dynamic address update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDAUPDF LL_I3C_ClearFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max write length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMWLUPDF LL_I3C_ClearFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear max read length flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CMRLUPDF LL_I3C_ClearFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_RST
(
I3C_TypeDef
*
p_i3c
)
-
Clear reset flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CRSTF LL_I3C_ClearFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear active state flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CASUPDF LL_I3C_ClearFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Clear interrupt update flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CINTUPDF LL_I3C_ClearFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list targets flag (target mode).
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CDEFF LL_I3C_ClearFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_ClearFlag_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Clear define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
CEVR CGRPF LL_I3C_ClearFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsActiveFlag
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
flags
)
IT_Management ¶
- group I3C_LL_EF_IT_Management
-
Functions
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Enable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT
IER SFNEIE LL_I3C_EnableIT
IER TXFNFIE LL_I3C_EnableIT
IER RXFNEIE LL_I3C_EnableIT
IER FCIE LL_I3C_EnableIT
IER RXTGTENDIE LL_I3C_EnableIT
IER ERRIE LL_I3C_EnableIT
IER IBIIE LL_I3C_EnableIT
IER IBIENDIE LL_I3C_EnableIT
IER CRIE LL_I3C_EnableIT
IER CRUPDIE LL_I3C_EnableIT
IER HJIE LL_I3C_EnableIT
IER WKPIE LL_I3C_EnableIT
IER GETIE LL_I3C_EnableIT
IER STAIE LL_I3C_EnableIT
IER DAUPDIE LL_I3C_EnableIT
IER MWLUPDIE LL_I3C_EnableIT
IER MRLUPDIE LL_I3C_EnableIT
IER RSTIE LL_I3C_EnableIT
IER ASUPDIE LL_I3C_EnableIT
IER INTUPDIE LL_I3C_EnableIT
IER DEFIE LL_I3C_EnableIT
IER GRPIE LL_I3C_EnableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to enable. This parameter can be a combination of the following values:
-
void
LL_I3C_DisableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Disable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT
IER SFNEIE LL_I3C_DisableIT
IER TXFNFIE LL_I3C_DisableIT
IER RXFNEIE LL_I3C_DisableIT
IER FCIE LL_I3C_DisableIT
IER RXTGTENDIE LL_I3C_DisableIT
IER ERRIE LL_I3C_DisableIT
IER IBIIE LL_I3C_DisableIT
IER IBIENDIE LL_I3C_DisableIT
IER CRIE LL_I3C_DisableIT
IER CRUPDIE LL_I3C_DisableIT
IER HJIE LL_I3C_DisableIT
IER WKPIE LL_I3C_DisableIT
IER GETIE LL_I3C_DisableIT
IER STAIE LL_I3C_DisableIT
IER DAUPDIE LL_I3C_DisableIT
IER MWLUPDIE LL_I3C_DisableIT
IER MRLUPDIE LL_I3C_DisableIT
IER RSTIE LL_I3C_DisableIT
IER ASUPDIE LL_I3C_DisableIT
IER INTUPDIE LL_I3C_DisableIT
IER DEFIE LL_I3C_DisableIT
IER GRPIE LL_I3C_DisableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to disable. This parameter can be a combination of the following values:
-
uint32_t
LL_I3C_IsEnabledIT
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Check whether the specified I3C interrupts sources are enabled or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT
IER SFNEIE LL_I3C_IsEnabledIT
IER TXFNFIE LL_I3C_IsEnabledIT
IER RXFNEIE LL_I3C_IsEnabledIT
IER FCIE LL_I3C_IsEnabledIT
IER RXTGTENDIE LL_I3C_IsEnabledIT
IER ERRIE LL_I3C_IsEnabledIT
IER IBIIE LL_I3C_IsEnabledIT
IER IBIENDIE LL_I3C_IsEnabledIT
IER CRIE LL_I3C_IsEnabledIT
IER CRUPDIE LL_I3C_IsEnabledIT
IER HJIE LL_I3C_IsEnabledIT
IER WKPIE LL_I3C_IsEnabledIT
IER GETIE LL_I3C_IsEnabledIT
IER STAIE LL_I3C_IsEnabledIT
IER DAUPDIE LL_I3C_IsEnabledIT
IER MWLUPDIE LL_I3C_IsEnabledIT
IER MRLUPDIE LL_I3C_IsEnabledIT
IER RSTIE LL_I3C_IsEnabledIT
IER ASUPDIE LL_I3C_IsEnabledIT
IER INTUPDIE LL_I3C_IsEnabledIT
IER DEFIE LL_I3C_IsEnabledIT
IER GRPIE LL_I3C_IsEnabledIT
- Parameters :
-
p_i3c – I3C instance.
mask – Interrupts sources to check. This parameter can be a combination of the following values:
- Return values :
-
State – of interrupts sources (1 or 0).
-
void
LL_I3C_EnableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if control FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_EnableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_DisableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if status FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_IsEnabledIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_EnableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_DisableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if transmit FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_IsEnabledIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_EnableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_DisableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if receive FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_IsEnabledIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Enable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_EnableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Disable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_DisableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Frame Complete interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_IsEnabledIT_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_EnableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_DisableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reception target End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_IsEnabledIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Enable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_EnableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Disable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_DisableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if error interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_IsEnabledIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_EnableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_DisableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_IsEnabledIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_EnableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_DisableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_IsEnabledIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_EnableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_DisableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_IsEnabledIT_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_EnableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_DisableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_IsEnabledIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Enable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_EnableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Disable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_DisableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_IsEnabledIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Enable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_EnableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Disable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_DisableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_IsEnabledIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Enable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_EnableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Disable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_DisableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_IsEnabledIT_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Enable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_EnableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Disable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_DisableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get status interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_IsEnabledIT_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_EnableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_DisableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if dynamic address update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_IsEnabledIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_EnableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_DisableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max write length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_IsEnabledIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_EnableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_DisableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max read length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_IsEnabledIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Enable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_EnableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Disable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_DisableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_IsEnabledIT_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_EnableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_DisableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if activity state update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_IsEnabledIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_EnableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_DisableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if interrupt update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_IsEnabledIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_EnableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_DisableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list target interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_IsEnabledIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_EnableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_DisableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list Group addresses interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_IsEnabledIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
- group I3C_LL_EF_IT_Management
-
Functions
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Enable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT
IER SFNEIE LL_I3C_EnableIT
IER TXFNFIE LL_I3C_EnableIT
IER RXFNEIE LL_I3C_EnableIT
IER FCIE LL_I3C_EnableIT
IER RXTGTENDIE LL_I3C_EnableIT
IER ERRIE LL_I3C_EnableIT
IER IBIIE LL_I3C_EnableIT
IER IBIENDIE LL_I3C_EnableIT
IER CRIE LL_I3C_EnableIT
IER CRUPDIE LL_I3C_EnableIT
IER HJIE LL_I3C_EnableIT
IER WKPIE LL_I3C_EnableIT
IER GETIE LL_I3C_EnableIT
IER STAIE LL_I3C_EnableIT
IER DAUPDIE LL_I3C_EnableIT
IER MWLUPDIE LL_I3C_EnableIT
IER MRLUPDIE LL_I3C_EnableIT
IER RSTIE LL_I3C_EnableIT
IER ASUPDIE LL_I3C_EnableIT
IER INTUPDIE LL_I3C_EnableIT
IER DEFIE LL_I3C_EnableIT
IER GRPIE LL_I3C_EnableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to enable. This parameter can be a combination of the following values:
-
void
LL_I3C_DisableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Disable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT
IER SFNEIE LL_I3C_DisableIT
IER TXFNFIE LL_I3C_DisableIT
IER RXFNEIE LL_I3C_DisableIT
IER FCIE LL_I3C_DisableIT
IER RXTGTENDIE LL_I3C_DisableIT
IER ERRIE LL_I3C_DisableIT
IER IBIIE LL_I3C_DisableIT
IER IBIENDIE LL_I3C_DisableIT
IER CRIE LL_I3C_DisableIT
IER CRUPDIE LL_I3C_DisableIT
IER HJIE LL_I3C_DisableIT
IER WKPIE LL_I3C_DisableIT
IER GETIE LL_I3C_DisableIT
IER STAIE LL_I3C_DisableIT
IER DAUPDIE LL_I3C_DisableIT
IER MWLUPDIE LL_I3C_DisableIT
IER MRLUPDIE LL_I3C_DisableIT
IER RSTIE LL_I3C_DisableIT
IER ASUPDIE LL_I3C_DisableIT
IER INTUPDIE LL_I3C_DisableIT
IER DEFIE LL_I3C_DisableIT
IER GRPIE LL_I3C_DisableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to disable. This parameter can be a combination of the following values:
-
uint32_t
LL_I3C_IsEnabledIT
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Check whether the specified I3C interrupts sources are enabled or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT
IER SFNEIE LL_I3C_IsEnabledIT
IER TXFNFIE LL_I3C_IsEnabledIT
IER RXFNEIE LL_I3C_IsEnabledIT
IER FCIE LL_I3C_IsEnabledIT
IER RXTGTENDIE LL_I3C_IsEnabledIT
IER ERRIE LL_I3C_IsEnabledIT
IER IBIIE LL_I3C_IsEnabledIT
IER IBIENDIE LL_I3C_IsEnabledIT
IER CRIE LL_I3C_IsEnabledIT
IER CRUPDIE LL_I3C_IsEnabledIT
IER HJIE LL_I3C_IsEnabledIT
IER WKPIE LL_I3C_IsEnabledIT
IER GETIE LL_I3C_IsEnabledIT
IER STAIE LL_I3C_IsEnabledIT
IER DAUPDIE LL_I3C_IsEnabledIT
IER MWLUPDIE LL_I3C_IsEnabledIT
IER MRLUPDIE LL_I3C_IsEnabledIT
IER RSTIE LL_I3C_IsEnabledIT
IER ASUPDIE LL_I3C_IsEnabledIT
IER INTUPDIE LL_I3C_IsEnabledIT
IER DEFIE LL_I3C_IsEnabledIT
IER GRPIE LL_I3C_IsEnabledIT
- Parameters :
-
p_i3c – I3C instance.
mask – Interrupts sources to check. This parameter can be a combination of the following values:
- Return values :
-
State – of interrupts sources (1 or 0).
-
void
LL_I3C_EnableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if control FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_EnableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_DisableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if status FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_IsEnabledIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_EnableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_DisableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if transmit FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_IsEnabledIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_EnableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_DisableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if receive FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_IsEnabledIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Enable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_EnableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Disable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_DisableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Frame Complete interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_IsEnabledIT_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_EnableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_DisableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reception target End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_IsEnabledIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Enable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_EnableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Disable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_DisableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if error interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_IsEnabledIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_EnableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_DisableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_IsEnabledIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_EnableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_DisableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_IsEnabledIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_EnableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_DisableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_IsEnabledIT_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_EnableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_DisableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_IsEnabledIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Enable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_EnableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Disable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_DisableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_IsEnabledIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Enable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_EnableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Disable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_DisableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_IsEnabledIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Enable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_EnableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Disable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_DisableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_IsEnabledIT_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Enable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_EnableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Disable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_DisableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get status interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_IsEnabledIT_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_EnableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_DisableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if dynamic address update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_IsEnabledIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_EnableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_DisableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max write length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_IsEnabledIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_EnableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_DisableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max read length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_IsEnabledIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Enable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_EnableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Disable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_DisableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_IsEnabledIT_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_EnableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_DisableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if activity state update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_IsEnabledIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_EnableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_DisableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if interrupt update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_IsEnabledIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_EnableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_DisableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list target interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_IsEnabledIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_EnableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_DisableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list Group addresses interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_IsEnabledIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
- group I3C_LL_EF_IT_Management
-
Functions
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Enable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT
IER SFNEIE LL_I3C_EnableIT
IER TXFNFIE LL_I3C_EnableIT
IER RXFNEIE LL_I3C_EnableIT
IER FCIE LL_I3C_EnableIT
IER RXTGTENDIE LL_I3C_EnableIT
IER ERRIE LL_I3C_EnableIT
IER IBIIE LL_I3C_EnableIT
IER IBIENDIE LL_I3C_EnableIT
IER CRIE LL_I3C_EnableIT
IER CRUPDIE LL_I3C_EnableIT
IER HJIE LL_I3C_EnableIT
IER WKPIE LL_I3C_EnableIT
IER GETIE LL_I3C_EnableIT
IER STAIE LL_I3C_EnableIT
IER DAUPDIE LL_I3C_EnableIT
IER MWLUPDIE LL_I3C_EnableIT
IER MRLUPDIE LL_I3C_EnableIT
IER RSTIE LL_I3C_EnableIT
IER ASUPDIE LL_I3C_EnableIT
IER INTUPDIE LL_I3C_EnableIT
IER DEFIE LL_I3C_EnableIT
IER GRPIE LL_I3C_EnableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to enable. This parameter can be a combination of the following values:
-
void
LL_I3C_DisableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Disable the specified I3C interrupts.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT
IER SFNEIE LL_I3C_DisableIT
IER TXFNFIE LL_I3C_DisableIT
IER RXFNEIE LL_I3C_DisableIT
IER FCIE LL_I3C_DisableIT
IER RXTGTENDIE LL_I3C_DisableIT
IER ERRIE LL_I3C_DisableIT
IER IBIIE LL_I3C_DisableIT
IER IBIENDIE LL_I3C_DisableIT
IER CRIE LL_I3C_DisableIT
IER CRUPDIE LL_I3C_DisableIT
IER HJIE LL_I3C_DisableIT
IER WKPIE LL_I3C_DisableIT
IER GETIE LL_I3C_DisableIT
IER STAIE LL_I3C_DisableIT
IER DAUPDIE LL_I3C_DisableIT
IER MWLUPDIE LL_I3C_DisableIT
IER MRLUPDIE LL_I3C_DisableIT
IER RSTIE LL_I3C_DisableIT
IER ASUPDIE LL_I3C_DisableIT
IER INTUPDIE LL_I3C_DisableIT
IER DEFIE LL_I3C_DisableIT
IER GRPIE LL_I3C_DisableIT
- Parameters :
-
p_i3c – I3C instance.
mask – interrupt sources to disable. This parameter can be a combination of the following values:
-
uint32_t
LL_I3C_IsEnabledIT
(
const
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
-
Check whether the specified I3C interrupts sources are enabled or not.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT
IER SFNEIE LL_I3C_IsEnabledIT
IER TXFNFIE LL_I3C_IsEnabledIT
IER RXFNEIE LL_I3C_IsEnabledIT
IER FCIE LL_I3C_IsEnabledIT
IER RXTGTENDIE LL_I3C_IsEnabledIT
IER ERRIE LL_I3C_IsEnabledIT
IER IBIIE LL_I3C_IsEnabledIT
IER IBIENDIE LL_I3C_IsEnabledIT
IER CRIE LL_I3C_IsEnabledIT
IER CRUPDIE LL_I3C_IsEnabledIT
IER HJIE LL_I3C_IsEnabledIT
IER WKPIE LL_I3C_IsEnabledIT
IER GETIE LL_I3C_IsEnabledIT
IER STAIE LL_I3C_IsEnabledIT
IER DAUPDIE LL_I3C_IsEnabledIT
IER MWLUPDIE LL_I3C_IsEnabledIT
IER MRLUPDIE LL_I3C_IsEnabledIT
IER RSTIE LL_I3C_IsEnabledIT
IER ASUPDIE LL_I3C_IsEnabledIT
IER INTUPDIE LL_I3C_IsEnabledIT
IER DEFIE LL_I3C_IsEnabledIT
IER GRPIE LL_I3C_IsEnabledIT
- Parameters :
-
p_i3c – I3C instance.
mask – Interrupts sources to check. This parameter can be a combination of the following values:
- Return values :
-
State – of interrupts sources (1 or 0).
-
void
LL_I3C_EnableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_EnableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable control FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_DisableIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if control FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CFNFIE LL_I3C_IsEnabledIT_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_EnableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_SFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable status FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_DisableIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if status FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER SFNEIE LL_I3C_IsEnabledIT_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Enable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_EnableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_TXFNF
(
I3C_TypeDef
*
p_i3c
)
-
Disable transmit FIFO not full interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_DisableIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if transmit FIFO not full interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER TXFNFIE LL_I3C_IsEnabledIT_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Enable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_EnableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXFNE
(
I3C_TypeDef
*
p_i3c
)
-
Disable receive FIFO not empty interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_DisableIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if receive FIFO not empty interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXFNEIE LL_I3C_IsEnabledIT_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Enable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_EnableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_FC
(
I3C_TypeDef
*
p_i3c
)
-
Disable Frame Complete interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_DisableIT_FC
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Frame Complete interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER FCIE LL_I3C_IsEnabledIT_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_EnableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RXTGTEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable reception target End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_DisableIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reception target End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RXTGTENDIE LL_I3C_IsEnabledIT_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Enable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_EnableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ERR
(
I3C_TypeDef
*
p_i3c
)
-
Disable error interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_DisableIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if error interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ERRIE LL_I3C_IsEnabledIT_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_EnableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBI
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_DisableIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIIE LL_I3C_IsEnabledIT_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Enable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_EnableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_IBIEND
(
I3C_TypeDef
*
p_i3c
)
-
Disable IBI End interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_DisableIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if IBI End interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER IBIENDIE LL_I3C_IsEnabledIT_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_EnableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CR
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_DisableIT_CR
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRIE LL_I3C_IsEnabledIT_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_EnableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_CRUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable controller-role update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_DisableIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if controller-role update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER CRUPDIE LL_I3C_IsEnabledIT_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Enable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_EnableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_HJ
(
I3C_TypeDef
*
p_i3c
)
-
Disable Hot-Join interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_DisableIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if Hot-Join interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER HJIE LL_I3C_IsEnabledIT_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Enable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_EnableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_WKP
(
I3C_TypeDef
*
p_i3c
)
-
Disable wake up interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_DisableIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER WKPIE LL_I3C_IsEnabledIT_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Enable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_EnableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GET
(
I3C_TypeDef
*
p_i3c
)
-
Disable get command interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_DisableIT_GET
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GETIE LL_I3C_IsEnabledIT_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Enable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_EnableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_STA
(
I3C_TypeDef
*
p_i3c
)
-
Disable get status interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_DisableIT_STA
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if get status interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER STAIE LL_I3C_IsEnabledIT_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_EnableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DAUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable dynamic address update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_DisableIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if dynamic address update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DAUPDIE LL_I3C_IsEnabledIT_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_EnableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MWLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max write length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_DisableIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max write length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MWLUPDIE LL_I3C_IsEnabledIT_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_EnableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_MRLUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable max read length update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_DisableIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if max read length update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER MRLUPDIE LL_I3C_IsEnabledIT_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Enable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_EnableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_RST
(
I3C_TypeDef
*
p_i3c
)
-
Disable reset interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_DisableIT_RST
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if reset interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER RSTIE LL_I3C_IsEnabledIT_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_EnableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_ASUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable activity state update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_DisableIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if activity state update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER ASUPDIE LL_I3C_IsEnabledIT_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Enable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_EnableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_INTUPD
(
I3C_TypeDef
*
p_i3c
)
-
Disable interrupt update interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_DisableIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if interrupt update interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER INTUPDIE LL_I3C_IsEnabledIT_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_EnableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_DEF
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list target interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_DisableIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list target interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER DEFIE LL_I3C_IsEnabledIT_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Enable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_EnableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
void
LL_I3C_DisableIT_GRP
(
I3C_TypeDef
*
p_i3c
)
-
Disable define list Group addresses interrupt.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_DisableIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
-
uint32_t
LL_I3C_IsEnabledIT_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Check if define list Group addresses interrupt is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
IER GRPIE LL_I3C_IsEnabledIT_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
void
LL_I3C_EnableIT
(
I3C_TypeDef
*
p_i3c
,
uint32_t
mask
)
Mask_IT_Management ¶
- group I3C_LL_EF_MASK_IT_Management
-
Functions
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt control FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CFNFMIS LL_I3C_IsActiveMaskFlag_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt status FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR SFNEMIS LL_I3C_IsActiveMaskFlag_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt transmit FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR TXFNFMIS LL_I3C_IsActiveMaskFlag_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt receive FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXFNEMIS LL_I3C_IsActiveMaskFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Frame Complete flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR FCMIS LL_I3C_IsActiveMaskFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reception target end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXTGTENDMIS LL_I3C_IsActiveMaskFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt error flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ERRMIS LL_I3C_IsActiveMaskFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIMIS LL_I3C_IsActiveMaskFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIENDMIS LL_I3C_IsActiveMaskFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRMIS LL_I3C_IsActiveMaskFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRUPDMIS LL_I3C_IsActiveMaskFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Hot-Join flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR HJMIS LL_I3C_IsActiveMaskFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR WKPMIS LL_I3C_IsActiveMaskFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GETMIS LL_I3C_IsActiveMaskFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR STAMIS LL_I3C_IsActiveMaskFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt dynamic address update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DAUPDMIS LL_I3C_IsActiveMaskFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max write length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MWLUPDMIS LL_I3C_IsActiveMaskFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max read length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MRLUPDMIS LL_I3C_IsActiveMaskFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reset flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RSTMIS LL_I3C_IsActiveMaskFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt activity state update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ASUPDMIS LL_I3C_IsActiveMaskFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR INTUPDMIS LL_I3C_IsActiveMaskFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list target flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DEFMIS LL_I3C_IsActiveMaskFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GRPMIS LL_I3C_IsActiveMaskFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_MASK_IT_Management
-
Functions
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt control FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CFNFMIS LL_I3C_IsActiveMaskFlag_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt status FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR SFNEMIS LL_I3C_IsActiveMaskFlag_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt transmit FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR TXFNFMIS LL_I3C_IsActiveMaskFlag_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt receive FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXFNEMIS LL_I3C_IsActiveMaskFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Frame Complete flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR FCMIS LL_I3C_IsActiveMaskFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reception target end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXTGTENDMIS LL_I3C_IsActiveMaskFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt error flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ERRMIS LL_I3C_IsActiveMaskFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIMIS LL_I3C_IsActiveMaskFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIENDMIS LL_I3C_IsActiveMaskFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRMIS LL_I3C_IsActiveMaskFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRUPDMIS LL_I3C_IsActiveMaskFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Hot-Join flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR HJMIS LL_I3C_IsActiveMaskFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR WKPMIS LL_I3C_IsActiveMaskFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GETMIS LL_I3C_IsActiveMaskFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR STAMIS LL_I3C_IsActiveMaskFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt dynamic address update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DAUPDMIS LL_I3C_IsActiveMaskFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max write length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MWLUPDMIS LL_I3C_IsActiveMaskFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max read length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MRLUPDMIS LL_I3C_IsActiveMaskFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reset flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RSTMIS LL_I3C_IsActiveMaskFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt activity state update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ASUPDMIS LL_I3C_IsActiveMaskFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR INTUPDMIS LL_I3C_IsActiveMaskFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list target flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DEFMIS LL_I3C_IsActiveMaskFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GRPMIS LL_I3C_IsActiveMaskFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
- group I3C_LL_EF_MASK_IT_Management
-
Functions
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt control FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CFNFMIS LL_I3C_IsActiveMaskFlag_CFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_SFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt status FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR SFNEMIS LL_I3C_IsActiveMaskFlag_SFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_TXFNF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt transmit FIFO not full flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR TXFNFMIS LL_I3C_IsActiveMaskFlag_TXFNF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXFNE
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt receive FIFO not empty flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXFNEMIS LL_I3C_IsActiveMaskFlag_RXFNE
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_FC
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Frame Complete flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR FCMIS LL_I3C_IsActiveMaskFlag_FC
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RXTGTEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reception target end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RXTGTENDMIS LL_I3C_IsActiveMaskFlag_RXTGTEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ERR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt error flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ERRMIS LL_I3C_IsActiveMaskFlag_ERR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBI
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIMIS LL_I3C_IsActiveMaskFlag_IBI
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_IBIEND
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt IBI end flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR IBIENDMIS LL_I3C_IsActiveMaskFlag_IBIEND
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CR
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRMIS LL_I3C_IsActiveMaskFlag_CR
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CRUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt controller-role update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR CRUPDMIS LL_I3C_IsActiveMaskFlag_CRUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_HJ
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt Hot-Join flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR HJMIS LL_I3C_IsActiveMaskFlag_HJ
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_WKP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt wakeup is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR WKPMIS LL_I3C_IsActiveMaskFlag_WKP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GET
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get command is enabled or disabled.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GETMIS LL_I3C_IsActiveMaskFlag_GET
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_STA
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt get status flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR STAMIS LL_I3C_IsActiveMaskFlag_STA
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DAUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt dynamic address update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DAUPDMIS LL_I3C_IsActiveMaskFlag_DAUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MWLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max write length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MWLUPDMIS LL_I3C_IsActiveMaskFlag_MWLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_MRLUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt max read length update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR MRLUPDMIS LL_I3C_IsActiveMaskFlag_MRLUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_RST
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt reset flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR RSTMIS LL_I3C_IsActiveMaskFlag_RST
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_ASUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt activity state update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR ASUPDMIS LL_I3C_IsActiveMaskFlag_ASUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_INTUPD
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt update flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR INTUPDMIS LL_I3C_IsActiveMaskFlag_INTUPD
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_DEF
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list target flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR DEFMIS LL_I3C_IsActiveMaskFlag_DEF
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_GRP
(
const
I3C_TypeDef
*
p_i3c
)
-
Indicates the status of masked interrupt define list Group addresses flag.
- Reference Manual to LL API cross reference (Register Field Functions)
-
MISR GRPMIS LL_I3C_IsActiveMaskFlag_GRP
- Parameters :
-
p_i3c – I3C Instance.
- Return values :
-
State – of bit (1 or 0).
-
uint32_t
LL_I3C_IsActiveMaskFlag_CFNF
(
const
I3C_TypeDef
*
p_i3c
)