STM8L15x Standard Peripherals Drivers
|
I2C_struct Struct Reference
Inter-Integrated Circuit (I2C) More...
#include <stm8l15x.h>
Data Fields | |
__IO uint8_t | CCRH |
__IO uint8_t | CCRL |
__IO uint8_t | CR1 |
__IO uint8_t | CR2 |
__IO uint8_t | DR |
__IO uint8_t | FREQR |
__IO uint8_t | ITR |
__IO uint8_t | OAR2 |
__IO uint8_t | OARH |
__IO uint8_t | OARL |
__IO uint8_t | PECR |
__IO uint8_t | SR1 |
__IO uint8_t | SR2 |
__IO uint8_t | SR3 |
__IO uint8_t | TRISER |
Detailed Description
Inter-Integrated Circuit (I2C)
Definition at line 1048 of file stm8l15x.h.
Field Documentation
__IO uint8_t I2C_struct::CCRH |
I2C clock control register high
Definition at line 1062 of file stm8l15x.h.
Referenced by I2C_DeInit(), I2C_FastModeDutyCycleConfig(), and I2C_Init().
__IO uint8_t I2C_struct::CCRL |
I2C clock control register low
Definition at line 1061 of file stm8l15x.h.
Referenced by I2C_DeInit(), and I2C_Init().
__IO uint8_t I2C_struct::CR1 |
I2C control register 1
Definition at line 1050 of file stm8l15x.h.
Referenced by I2C_ARPCmd(), I2C_CalculatePEC(), I2C_Cmd(), I2C_DeInit(), I2C_GeneralCallCmd(), I2C_Init(), and I2C_StretchClockCmd().
__IO uint8_t I2C_struct::CR2 |
I2C control register 2
Definition at line 1051 of file stm8l15x.h.
Referenced by I2C_AcknowledgeConfig(), I2C_AckPositionConfig(), I2C_DeInit(), I2C_GenerateSTART(), I2C_GenerateSTOP(), I2C_Init(), I2C_PECPositionConfig(), I2C_SMBusAlertConfig(), I2C_SoftwareResetCmd(), and I2C_TransmitPEC().
__IO uint8_t I2C_struct::DR |
I2C data register
Definition at line 1056 of file stm8l15x.h.
Referenced by I2C_ReceiveData(), I2C_Send7bitAddress(), and I2C_SendData().
__IO uint8_t I2C_struct::FREQR |
I2C frequency register
Definition at line 1052 of file stm8l15x.h.
Referenced by I2C_DeInit(), and I2C_Init().
__IO uint8_t I2C_struct::ITR |
I2C interrupt & DMA register
Definition at line 1060 of file stm8l15x.h.
Referenced by I2C_DeInit(), I2C_DMACmd(), I2C_DMALastTransferCmd(), I2C_GetITStatus(), and I2C_ITConfig().
__IO uint8_t I2C_struct::OAR2 |
I2C own address register 2
Definition at line 1055 of file stm8l15x.h.
Referenced by I2C_DeInit(), I2C_DualAddressCmd(), and I2C_OwnAddress2Config().
__IO uint8_t I2C_struct::OARH |
I2C own address register 1 MSB
Definition at line 1054 of file stm8l15x.h.
Referenced by I2C_DeInit(), and I2C_Init().
__IO uint8_t I2C_struct::OARL |
I2C own address register 1 LSB
Definition at line 1053 of file stm8l15x.h.
Referenced by I2C_DeInit(), and I2C_Init().
__IO uint8_t I2C_struct::PECR |
I2CPacket Error Checking register
Definition at line 1064 of file stm8l15x.h.
Referenced by I2C_GetPEC().
__IO uint8_t I2C_struct::SR1 |
I2C status register 1
Definition at line 1057 of file stm8l15x.h.
Referenced by I2C_CheckEvent(), I2C_GetFlagStatus(), I2C_GetITStatus(), and I2C_GetLastEvent().
__IO uint8_t I2C_struct::SR2 |
I2C status register 2
Definition at line 1058 of file stm8l15x.h.
Referenced by I2C_CheckEvent(), I2C_ClearFlag(), I2C_ClearITPendingBit(), I2C_GetFlagStatus(), I2C_GetITStatus(), and I2C_GetLastEvent().
__IO uint8_t I2C_struct::SR3 |
I2C status register 3
Definition at line 1059 of file stm8l15x.h.
Referenced by I2C_CheckEvent(), I2C_GetFlagStatus(), and I2C_GetLastEvent().
I2C maximum rise time register
Definition at line 1063 of file stm8l15x.h.
Referenced by I2C_DeInit(), and I2C_Init().
The documentation for this struct was generated from the following file: