|
STM32F4xx_HAL_Driver
1.8.3
|
Collaboration diagram for Data_Management:Functions | |
| __STATIC_INLINE void | LL_FMPI2C_EnableAutoEndMode (FMPI2C_TypeDef *FMPI2Cx) |
| Enable automatic STOP condition generation (master mode). More... | |
| __STATIC_INLINE void | LL_FMPI2C_DisableAutoEndMode (FMPI2C_TypeDef *FMPI2Cx) |
| Disable automatic STOP condition generation (master mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_IsEnabledAutoEndMode (const FMPI2C_TypeDef *FMPI2Cx) |
| Check if automatic STOP condition is enabled or disabled. @rmtoll CR2 AUTOEND LL_FMPI2C_IsEnabledAutoEndMode. More... | |
| __STATIC_INLINE void | LL_FMPI2C_EnableReloadMode (FMPI2C_TypeDef *FMPI2Cx) |
| Enable reload mode (master mode). More... | |
| __STATIC_INLINE void | LL_FMPI2C_DisableReloadMode (FMPI2C_TypeDef *FMPI2Cx) |
| Disable reload mode (master mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_IsEnabledReloadMode (const FMPI2C_TypeDef *FMPI2Cx) |
| Check if reload mode is enabled or disabled. @rmtoll CR2 RELOAD LL_FMPI2C_IsEnabledReloadMode. More... | |
| __STATIC_INLINE void | LL_FMPI2C_SetTransferSize (FMPI2C_TypeDef *FMPI2Cx, uint32_t TransferSize) |
| Configure the number of bytes for transfer. More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_GetTransferSize (const FMPI2C_TypeDef *FMPI2Cx) |
| Get the number of bytes configured for transfer. @rmtoll CR2 NBYTES LL_FMPI2C_GetTransferSize. More... | |
| __STATIC_INLINE void | LL_FMPI2C_AcknowledgeNextData (FMPI2C_TypeDef *FMPI2Cx, uint32_t TypeAcknowledge) |
| Prepare the generation of a ACKnowledge or Non ACKnowledge condition after the address receive match code or next received byte. More... | |
| __STATIC_INLINE void | LL_FMPI2C_GenerateStartCondition (FMPI2C_TypeDef *FMPI2Cx) |
| Generate a START or RESTART condition. More... | |
| __STATIC_INLINE void | LL_FMPI2C_GenerateStopCondition (FMPI2C_TypeDef *FMPI2Cx) |
| Generate a STOP condition after the current byte transfer (master mode). @rmtoll CR2 STOP LL_FMPI2C_GenerateStopCondition. More... | |
| __STATIC_INLINE void | LL_FMPI2C_EnableAuto10BitRead (FMPI2C_TypeDef *FMPI2Cx) |
| Enable automatic RESTART Read request condition for 10bit address header (master mode). More... | |
| __STATIC_INLINE void | LL_FMPI2C_DisableAuto10BitRead (FMPI2C_TypeDef *FMPI2Cx) |
| Disable automatic RESTART Read request condition for 10bit address header (master mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_IsEnabledAuto10BitRead (const FMPI2C_TypeDef *FMPI2Cx) |
| Check if automatic RESTART Read request condition for 10bit address header is enabled or disabled. @rmtoll CR2 HEAD10R LL_FMPI2C_IsEnabledAuto10BitRead. More... | |
| __STATIC_INLINE void | LL_FMPI2C_SetTransferRequest (FMPI2C_TypeDef *FMPI2Cx, uint32_t TransferRequest) |
| Configure the transfer direction (master mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_GetTransferRequest (const FMPI2C_TypeDef *FMPI2Cx) |
| Get the transfer direction requested (master mode). @rmtoll CR2 RD_WRN LL_FMPI2C_GetTransferRequest. More... | |
| __STATIC_INLINE void | LL_FMPI2C_SetSlaveAddr (FMPI2C_TypeDef *FMPI2Cx, uint32_t SlaveAddr) |
| Configure the slave address for transfer (master mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_GetSlaveAddr (const FMPI2C_TypeDef *FMPI2Cx) |
| Get the slave address programmed for transfer. @rmtoll CR2 SADD LL_FMPI2C_GetSlaveAddr. More... | |
| __STATIC_INLINE void | LL_FMPI2C_HandleTransfer (FMPI2C_TypeDef *FMPI2Cx, uint32_t SlaveAddr, uint32_t SlaveAddrSize, uint32_t TransferSize, uint32_t EndMode, uint32_t Request) |
| Handles FMPI2Cx communication when starting transfer or during transfer (TC or TCR flag are set). @rmtoll CR2 SADD LL_FMPI2C_HandleTransfer CR2 ADD10 LL_FMPI2C_HandleTransfer CR2 RD_WRN LL_FMPI2C_HandleTransfer CR2 START LL_FMPI2C_HandleTransfer CR2 STOP LL_FMPI2C_HandleTransfer CR2 RELOAD LL_FMPI2C_HandleTransfer CR2 NBYTES LL_FMPI2C_HandleTransfer CR2 AUTOEND LL_FMPI2C_HandleTransfer CR2 HEAD10R LL_FMPI2C_HandleTransfer. More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_GetTransferDirection (const FMPI2C_TypeDef *FMPI2Cx) |
| Indicate the value of transfer direction (slave mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_GetAddressMatchCode (const FMPI2C_TypeDef *FMPI2Cx) |
| Return the slave matched address. @rmtoll ISR ADDCODE LL_FMPI2C_GetAddressMatchCode. More... | |
| __STATIC_INLINE void | LL_FMPI2C_EnableSMBusPECCompare (FMPI2C_TypeDef *FMPI2Cx) |
| Enable internal comparison of the SMBus Packet Error byte (transmission or reception mode). More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_IsEnabledSMBusPECCompare (const FMPI2C_TypeDef *FMPI2Cx) |
| Check if the SMBus Packet Error byte internal comparison is requested or not. More... | |
| __STATIC_INLINE uint32_t | LL_FMPI2C_GetSMBusPEC (const FMPI2C_TypeDef *FMPI2Cx) |
| Get the SMBus Packet Error byte calculated. More... | |
| __STATIC_INLINE uint8_t | LL_FMPI2C_ReceiveData8 (const FMPI2C_TypeDef *FMPI2Cx) |
| Read Receive Data register. @rmtoll RXDR RXDATA LL_FMPI2C_ReceiveData8. More... | |
| __STATIC_INLINE void | LL_FMPI2C_TransmitData8 (FMPI2C_TypeDef *FMPI2Cx, uint8_t Data) |
| Write in Transmit Data Register . @rmtoll TXDR TXDATA LL_FMPI2C_TransmitData8. More... | |
| __STATIC_INLINE void LL_FMPI2C_AcknowledgeNextData | ( | FMPI2C_TypeDef * | FMPI2Cx, |
| uint32_t | TypeAcknowledge | ||
| ) |
Prepare the generation of a ACKnowledge or Non ACKnowledge condition after the address receive match code or next received byte.
| FMPI2Cx | FMPI2C Instance. |
| TypeAcknowledge | This parameter can be one of the following values:
|
| None |
Definition at line 1938 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_DisableAuto10BitRead | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Disable automatic RESTART Read request condition for 10bit address header (master mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1988 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_DisableAutoEndMode | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Disable automatic STOP condition generation (master mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1852 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_DisableReloadMode | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Disable reload mode (master mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1887 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_EnableAuto10BitRead | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Enable automatic RESTART Read request condition for 10bit address header (master mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1976 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_EnableAutoEndMode | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Enable automatic STOP condition generation (master mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1840 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_EnableReloadMode | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Enable reload mode (master mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1875 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_EnableSMBusPECCompare | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Enable internal comparison of the SMBus Packet Error byte (transmission or reception mode).
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 2149 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_GenerateStartCondition | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Generate a START or RESTART condition.
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1951 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_GenerateStopCondition | ( | FMPI2C_TypeDef * | FMPI2Cx | ) |
Generate a STOP condition after the current byte transfer (master mode). @rmtoll CR2 STOP LL_FMPI2C_GenerateStopCondition.
| FMPI2Cx | FMPI2C Instance. |
| None |
Definition at line 1962 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_GetAddressMatchCode | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Return the slave matched address. @rmtoll ISR ADDCODE LL_FMPI2C_GetAddressMatchCode.
| FMPI2Cx | FMPI2C Instance. |
| Value | between Min_Data=0x00 and Max_Data=0x3F |
Definition at line 2132 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_GetSlaveAddr | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Get the slave address programmed for transfer. @rmtoll CR2 SADD LL_FMPI2C_GetSlaveAddr.
| FMPI2Cx | FMPI2C Instance. |
| Value | between Min_Data=0x0 and Max_Data=0x3F |
Definition at line 2051 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_GetSMBusPEC | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Get the SMBus Packet Error byte calculated.
| FMPI2Cx | FMPI2C Instance. |
| Value | between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 2175 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_GetTransferDirection | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Indicate the value of transfer direction (slave mode).
| FMPI2Cx | FMPI2C Instance. |
| Returned | value can be one of the following values:
|
Definition at line 2121 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_GetTransferRequest | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Get the transfer direction requested (master mode). @rmtoll CR2 RD_WRN LL_FMPI2C_GetTransferRequest.
| FMPI2Cx | FMPI2C Instance. |
| Returned | value can be one of the following values:
|
Definition at line 2027 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_GetTransferSize | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Get the number of bytes configured for transfer. @rmtoll CR2 NBYTES LL_FMPI2C_GetTransferSize.
| FMPI2Cx | FMPI2C Instance. |
| Value | between Min_Data=0x0 and Max_Data=0xFF |
Definition at line 1922 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_HandleTransfer | ( | FMPI2C_TypeDef * | FMPI2Cx, |
| uint32_t | SlaveAddr, | ||
| uint32_t | SlaveAddrSize, | ||
| uint32_t | TransferSize, | ||
| uint32_t | EndMode, | ||
| uint32_t | Request | ||
| ) |
Handles FMPI2Cx communication when starting transfer or during transfer (TC or TCR flag are set). @rmtoll CR2 SADD LL_FMPI2C_HandleTransfer
CR2 ADD10 LL_FMPI2C_HandleTransfer
CR2 RD_WRN LL_FMPI2C_HandleTransfer
CR2 START LL_FMPI2C_HandleTransfer
CR2 STOP LL_FMPI2C_HandleTransfer
CR2 RELOAD LL_FMPI2C_HandleTransfer
CR2 NBYTES LL_FMPI2C_HandleTransfer
CR2 AUTOEND LL_FMPI2C_HandleTransfer
CR2 HEAD10R LL_FMPI2C_HandleTransfer.
| FMPI2Cx | FMPI2C Instance. |
| SlaveAddr | Specifies the slave address to be programmed. |
| SlaveAddrSize | This parameter can be one of the following values:
|
| TransferSize | Specifies the number of bytes to be programmed. This parameter must be a value between Min_Data=0 and Max_Data=255. |
| EndMode | This parameter can be one of the following values:
|
| Request | This parameter can be one of the following values:
|
| None |
Definition at line 2094 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_IsEnabledAuto10BitRead | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Check if automatic RESTART Read request condition for 10bit address header is enabled or disabled. @rmtoll CR2 HEAD10R LL_FMPI2C_IsEnabledAuto10BitRead.
| FMPI2Cx | FMPI2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1999 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_IsEnabledAutoEndMode | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Check if automatic STOP condition is enabled or disabled. @rmtoll CR2 AUTOEND LL_FMPI2C_IsEnabledAutoEndMode.
| FMPI2Cx | FMPI2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1863 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_IsEnabledReloadMode | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Check if reload mode is enabled or disabled. @rmtoll CR2 RELOAD LL_FMPI2C_IsEnabledReloadMode.
| FMPI2Cx | FMPI2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1898 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint32_t LL_FMPI2C_IsEnabledSMBusPECCompare | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Check if the SMBus Packet Error byte internal comparison is requested or not.
| FMPI2Cx | FMPI2C Instance. |
| State | of bit (1 or 0). |
Definition at line 2162 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE uint8_t LL_FMPI2C_ReceiveData8 | ( | const FMPI2C_TypeDef * | FMPI2Cx | ) |
Read Receive Data register. @rmtoll RXDR RXDATA LL_FMPI2C_ReceiveData8.
| FMPI2Cx | FMPI2C Instance. |
| Value | between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 2186 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_SetSlaveAddr | ( | FMPI2C_TypeDef * | FMPI2Cx, |
| uint32_t | SlaveAddr | ||
| ) |
Configure the slave address for transfer (master mode).
| FMPI2Cx | FMPI2C Instance. |
| SlaveAddr | This parameter must be a value between Min_Data=0x00 and Max_Data=0x3F. |
| None |
Definition at line 2040 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_SetTransferRequest | ( | FMPI2C_TypeDef * | FMPI2Cx, |
| uint32_t | TransferRequest | ||
| ) |
Configure the transfer direction (master mode).
| FMPI2Cx | FMPI2C Instance. |
| TransferRequest | This parameter can be one of the following values:
|
| None |
Definition at line 2014 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_SetTransferSize | ( | FMPI2C_TypeDef * | FMPI2Cx, |
| uint32_t | TransferSize | ||
| ) |
Configure the number of bytes for transfer.
| FMPI2Cx | FMPI2C Instance. |
| TransferSize | This parameter must be a value between Min_Data=0x00 and Max_Data=0xFF. |
| None |
Definition at line 1911 of file stm32f4xx_ll_fmpi2c.h.
| __STATIC_INLINE void LL_FMPI2C_TransmitData8 | ( | FMPI2C_TypeDef * | FMPI2Cx, |
| uint8_t | Data | ||
| ) |
Write in Transmit Data Register . @rmtoll TXDR TXDATA LL_FMPI2C_TransmitData8.
| FMPI2Cx | FMPI2C Instance. |
| Data | Value between Min_Data=0x00 and Max_Data=0xFF |
| None |
Definition at line 2198 of file stm32f4xx_ll_fmpi2c.h.