i2ctospi 2.0.0.0
|
#define I2CTOSPI_CONFIGURE_GPIO_INPUT_ONLY_SS0 0x02 |
#define I2CTOSPI_CONFIGURE_GPIO_INPUT_ONLY_SS1 0x08 |
#define I2CTOSPI_CONFIGURE_GPIO_INPUT_ONLY_SS2 0x20 |
#define I2CTOSPI_CONFIGURE_GPIO_INPUT_ONLY_SS3 0x80 |
#define I2CTOSPI_CONFIGURE_GPIO_OPEN_DRAIN_SS0 0x03 |
#define I2CTOSPI_CONFIGURE_GPIO_OPEN_DRAIN_SS1 0x0C |
#define I2CTOSPI_CONFIGURE_GPIO_OPEN_DRAIN_SS2 0x30 |
#define I2CTOSPI_CONFIGURE_GPIO_OPEN_DRAIN_SS3 0xC0 |
#define I2CTOSPI_CONFIGURE_GPIO_PUSH_PULL_SS0 0x01 |
#define I2CTOSPI_CONFIGURE_GPIO_PUSH_PULL_SS1 0x04 |
#define I2CTOSPI_CONFIGURE_GPIO_PUSH_PULL_SS2 0x10 |
#define I2CTOSPI_CONFIGURE_GPIO_PUSH_PULL_SS3 0x40 |
#define I2CTOSPI_CONFIGURE_GPIO_QUASI_BIDIRECTIONAL_SS0 0x00 |
#define I2CTOSPI_CONFIGURE_GPIO_QUASI_BIDIRECTIONAL_SS1 0x00 |
#define I2CTOSPI_CONFIGURE_GPIO_QUASI_BIDIRECTIONAL_SS2 0x00 |
#define I2CTOSPI_CONFIGURE_GPIO_QUASI_BIDIRECTIONAL_SS3 0x00 |
#define I2CTOSPI_RTC5_COMMAND_CLEAR 0x54 |
#define I2CTOSPI_RTC5_COMMAND_ENABLE_COUNTING 0x80 |
#define I2CTOSPI_RTC5_COMMAND_READ 0x13 |
#define I2CTOSPI_RTC5_COMMAND_WRITE 0x12 |
#define I2CTOSPI_RTC5_REG_CALIBRATION 0x09 |
#define I2CTOSPI_RTC5_REG_CONFIG 0x08 |
#define I2CTOSPI_RTC5_REG_TIME_DATE_DAY 0x05 |
#define I2CTOSPI_RTC5_REG_TIME_DATE_MONTH 0x06 |
#define I2CTOSPI_RTC5_REG_TIME_DATE_YEAR 0x07 |
#define I2CTOSPI_RTC5_REG_TIME_DAY_OF_THE_WEEK 0x04 |
#define I2CTOSPI_RTC5_REG_TIME_HOUR 0x03 |
#define I2CTOSPI_RTC5_REG_TIME_HUN_OF_SEC 0x00 |
#define I2CTOSPI_RTC5_REG_TIME_MIN 0x02 |
#define I2CTOSPI_RTC5_REG_TIME_SEC 0x01 |
#define I2CTOSPI_SLAVEDEVICE_SS0 0x01 |
#define I2CTOSPI_SLAVEDEVICE_SS1 0x02 |
#define I2CTOSPI_SLAVEDEVICE_SS2 0x04 |
#define I2CTOSPI_SLAVEDEVICE_SS3 0x08 |