PAN1080 Peripheral API
|
Structure with i2c init feature. More...
#include <pan_i2c.h>
Data Fields | |
uint32_t | I2C_ClockSpeed |
uint16_t | I2C_Mode |
uint16_t | I2C_DutyCycle |
uint16_t | I2C_OwnAddress1 |
uint16_t | I2C_AcknowledgedAddress |
Structure with i2c init feature.
I2C_ClockSpeed | Specifies the clock frequency. |
I2C_Mode | Specifies the I2C mode.This parameter can be a value of PAN_I2C_MODE_MASTER,PAN_I2C_MODE_SLAVE |
I2C_DutyCycle | Specifies the I2C fast mode duty cycle.This parameter can be a value of I2C_DutyCycle_16_9, I2C_DutyCycle_2 |
I2C_OwnAddress1 | Specifies the first device own address, This parameter can be a 7-bit or 10-bit address. |
I2C_AcknowledgedAddress | Specifies if 7-bit or 10-bit address is acknowledged. This parameter can be a value of I2C_AcknowledgedAddress_7bit, I2C_AcknowledgedAddress_10bit |
uint16_t I2C_AcknowledgedAddress |
uint32_t I2C_ClockSpeed |
uint16_t I2C_DutyCycle |
uint16_t I2C_Mode |
uint16_t I2C_OwnAddress1 |