![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_I2C_EnableReset (I2C_TypeDef *I2Cx) |
| Enable Reset of I2C peripheral. | |
| __STATIC_INLINE void | DDL_I2C_DisableReset (I2C_TypeDef *I2Cx) |
| Disable Reset of I2C peripheral. | |
| __STATIC_INLINE uint32_t | DDL_I2C_IsResetEnabled (I2C_TypeDef *I2Cx) |
| Check if the I2C peripheral is under reset state or not. | |
| __STATIC_INLINE void | DDL_I2C_AcknowledgeNextData (I2C_TypeDef *I2Cx, uint32_t TypeAcknowledge) |
| Prepare the generation of a ACKnowledge or Non ACKnowledge condition after the address receive match code or next received byte. | |
| __STATIC_INLINE void | DDL_I2C_GenerateStartCondition (I2C_TypeDef *I2Cx) |
| Generate a START or RESTART condition. | |
| __STATIC_INLINE void | DDL_I2C_GenerateStopCondition (I2C_TypeDef *I2Cx) |
| Generate a STOP condition after the current byte transfer (master mode). | |
| __STATIC_INLINE void | DDL_I2C_EnableBitPOS (I2C_TypeDef *I2Cx) |
| Enable bit POS (master/host mode). | |
| __STATIC_INLINE void | DDL_I2C_DisableBitPOS (I2C_TypeDef *I2Cx) |
| Disable bit POS (master/host mode). | |
| __STATIC_INLINE uint32_t | DDL_I2C_IsEnabledBitPOS (I2C_TypeDef *I2Cx) |
| Check if bit POS is enabled or disabled. | |
| __STATIC_INLINE uint32_t | DDL_I2C_GetTransferDirection (I2C_TypeDef *I2Cx) |
| Indicate the value of transfer direction. | |
| __STATIC_INLINE void | DDL_I2C_EnableLastDMA (I2C_TypeDef *I2Cx) |
| Enable DMA last transfer. | |
| __STATIC_INLINE void | DDL_I2C_DisableLastDMA (I2C_TypeDef *I2Cx) |
| Disable DMA last transfer. | |
| __STATIC_INLINE uint32_t | DDL_I2C_IsEnabledLastDMA (I2C_TypeDef *I2Cx) |
| Check if DMA last transfer is enabled or disabled. | |
| __STATIC_INLINE void | DDL_I2C_EnableSMBusPECCompare (I2C_TypeDef *I2Cx) |
| Enable transfer or internal comparison of the SMBus Packet Error byte (transmission or reception mode). | |
| __STATIC_INLINE void | DDL_I2C_DisableSMBusPECCompare (I2C_TypeDef *I2Cx) |
| Disable transfer or internal comparison of the SMBus Packet Error byte (transmission or reception mode). | |
| __STATIC_INLINE uint32_t | DDL_I2C_IsEnabledSMBusPECCompare (I2C_TypeDef *I2Cx) |
| Check if the SMBus Packet Error byte transfer or internal comparison is requested or not. | |
| __STATIC_INLINE uint32_t | DDL_I2C_GetSMBusPEC (I2C_TypeDef *I2Cx) |
| Get the SMBus Packet Error byte calculated. | |
| __STATIC_INLINE uint8_t | DDL_I2C_ReceiveData8 (I2C_TypeDef *I2Cx) |
| Read Receive Data register. | |
| __STATIC_INLINE void | DDL_I2C_TransmitData8 (I2C_TypeDef *I2Cx, uint8_t Data) |
| Write in Transmit Data Register . | |
| __STATIC_INLINE void DDL_I2C_AcknowledgeNextData | ( | I2C_TypeDef * | I2Cx, |
| uint32_t | TypeAcknowledge ) |
Prepare the generation of a ACKnowledge or Non ACKnowledge condition after the address receive match code or next received byte.
| I2Cx | I2C Instance. |
| TypeAcknowledge | This parameter can be one of the following values: |
| None |
Definition at line 1675 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_DisableBitPOS | ( | I2C_TypeDef * | I2Cx | ) |
Disable bit POS (master/host mode).
| I2Cx | I2C Instance. |
| None |
Definition at line 1719 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_DisableLastDMA | ( | I2C_TypeDef * | I2Cx | ) |
Disable DMA last transfer.
| I2Cx | I2C Instance. |
| None |
Definition at line 1765 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_DisableReset | ( | I2C_TypeDef * | I2Cx | ) |
Disable Reset of I2C peripheral.
| I2Cx | I2C Instance. |
| None |
Definition at line 1651 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_DisableSMBusPECCompare | ( | I2C_TypeDef * | I2Cx | ) |
Disable transfer or internal comparison of the SMBus Packet Error byte (transmission or reception mode).
| I2Cx | I2C Instance. |
| None |
Definition at line 1801 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_EnableBitPOS | ( | I2C_TypeDef * | I2Cx | ) |
Enable bit POS (master/host mode).
| I2Cx | I2C Instance. |
| None |
Definition at line 1708 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_EnableLastDMA | ( | I2C_TypeDef * | I2Cx | ) |
Enable DMA last transfer.
| I2Cx | I2C Instance. |
| None |
Definition at line 1754 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_EnableReset | ( | I2C_TypeDef * | I2Cx | ) |
Enable Reset of I2C peripheral.
| I2Cx | I2C Instance. |
| None |
Definition at line 1641 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_EnableSMBusPECCompare | ( | I2C_TypeDef * | I2Cx | ) |
Enable transfer or internal comparison of the SMBus Packet Error byte (transmission or reception mode).
| I2Cx | I2C Instance. |
| None |
Definition at line 1789 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_GenerateStartCondition | ( | I2C_TypeDef * | I2Cx | ) |
Generate a START or RESTART condition.
| I2Cx | I2C Instance. |
| None |
Definition at line 1687 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_GenerateStopCondition | ( | I2C_TypeDef * | I2Cx | ) |
Generate a STOP condition after the current byte transfer (master mode).
| I2Cx | I2C Instance. |
| None |
Definition at line 1697 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint32_t DDL_I2C_GetSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Get the SMBus Packet Error byte calculated.
| I2Cx | I2C Instance. |
| Value | between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 1825 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint32_t DDL_I2C_GetTransferDirection | ( | I2C_TypeDef * | I2Cx | ) |
Indicate the value of transfer direction.
| I2Cx | I2C Instance. |
| Returned | value can be one of the following values: |
Definition at line 1743 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint32_t DDL_I2C_IsEnabledBitPOS | ( | I2C_TypeDef * | I2Cx | ) |
Check if bit POS is enabled or disabled.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1729 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint32_t DDL_I2C_IsEnabledLastDMA | ( | I2C_TypeDef * | I2Cx | ) |
Check if DMA last transfer is enabled or disabled.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1775 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint32_t DDL_I2C_IsEnabledSMBusPECCompare | ( | I2C_TypeDef * | I2Cx | ) |
Check if the SMBus Packet Error byte transfer or internal comparison is requested or not.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1813 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint32_t DDL_I2C_IsResetEnabled | ( | I2C_TypeDef * | I2Cx | ) |
Check if the I2C peripheral is under reset state or not.
| I2Cx | I2C Instance. |
| State | of bit (1 or 0). |
Definition at line 1661 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE uint8_t DDL_I2C_ReceiveData8 | ( | I2C_TypeDef * | I2Cx | ) |
Read Receive Data register.
| I2Cx | I2C Instance. |
| Value | between Min_Data=0x0 and Max_Data=0xFF |
Definition at line 1835 of file g32r4xx_ddl_i2c.h.
| __STATIC_INLINE void DDL_I2C_TransmitData8 | ( | I2C_TypeDef * | I2Cx, |
| uint8_t | Data ) |
Write in Transmit Data Register .
| I2Cx | I2C Instance. |
| Data | Value between Min_Data=0x0 and Max_Data=0xFF |
| None |
Definition at line 1846 of file g32r4xx_ddl_i2c.h.