Fixed C++ header to match changes

This commit is contained in:
servadmin 2022-02-26 12:53:25 -05:00
parent 56054ed3a1
commit 2e90e4312b
1 changed files with 36 additions and 36 deletions

View File

@ -20517,128 +20517,128 @@ public:
cs, dc, reset);
}
};
class U8G2_ST7567_64X32_1_SW_I2C: public U8G2 {
class U8G2_ST7567_64X32_1_SW: public U8G2 {
public:
U8G2_ST7567_64X32_1_SW_I2C(const u8g2_cb_t *rotation, uint8_t clock,
U8G2_ST7567_64X32_1_SW(const u8g2_cb_t *rotation, uint8_t clock,
uint8_t data, uint8_t reset = U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_64x32_1(&u8g2, rotation, u8x8_byte_sw_i2c,
u8g2_Setup_st7567_64x32_1(&u8g2, rotation, u8x8_byte_sw_i2c,
u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_SW_I2C(getU8x8(), clock, data, reset);
}
};
class U8G2_ST7567_64X32_1_HW_I2C: public U8G2 {
class U8G2_ST7567_64X32_1_HW: public U8G2 {
public:
U8G2_ST7567_64X32_1_HW_I2C(const u8g2_cb_t *rotation, uint8_t reset =
U8G2_ST7567_64X32_1_HW(const u8g2_cb_t *rotation, uint8_t reset =
U8X8_PIN_NONE, uint8_t clock = U8X8_PIN_NONE, uint8_t data =
U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_64x32_1(&u8g2, rotation,
u8g2_Setup_st7567_64x32_1(&u8g2, rotation,
u8x8_byte_arm_linux_hw_i2c, u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_HW_I2C(getU8x8(), reset, clock, data);
}
};
class U8G2_ST7567_HEM6432_1_SW_I2C: public U8G2 {
class U8G2_ST7567_HEM6432_1_SW: public U8G2 {
public:
U8G2_ST7567_HEM6432_1_SW_I2C(const u8g2_cb_t *rotation, uint8_t clock,
U8G2_ST7567_HEM6432_1_SW(const u8g2_cb_t *rotation, uint8_t clock,
uint8_t data, uint8_t reset = U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_hem6432_1(&u8g2, rotation, u8x8_byte_sw_i2c,
u8g2_Setup_st7567_hem6432_1(&u8g2, rotation, u8x8_byte_sw_i2c,
u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_SW_I2C(getU8x8(), clock, data, reset);
}
};
class U8G2_ST7567_HEM6432_1_HW_I2C: public U8G2 {
class U8G2_ST7567_HEM6432_1_HW: public U8G2 {
public:
U8G2_ST7567_HEM6432_1_HW_I2C(const u8g2_cb_t *rotation, uint8_t reset =
U8G2_ST7567_HEM6432_1_HW(const u8g2_cb_t *rotation, uint8_t reset =
U8X8_PIN_NONE, uint8_t clock = U8X8_PIN_NONE, uint8_t data =
U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_hem6432_1(&u8g2, rotation,
u8g2_Setup_st7567_hem6432_1(&u8g2, rotation,
u8x8_byte_arm_linux_hw_i2c, u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_HW_I2C(getU8x8(), reset, clock, data);
}
};
class U8G2_ST7567_64X32_2_SW_I2C: public U8G2 {
class U8G2_ST7567_64X32_2_SW: public U8G2 {
public:
U8G2_ST7567_64X32_2_SW_I2C(const u8g2_cb_t *rotation, uint8_t clock,
U8G2_ST7567_64X32_2_SW(const u8g2_cb_t *rotation, uint8_t clock,
uint8_t data, uint8_t reset = U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_64x32_2(&u8g2, rotation, u8x8_byte_sw_i2c,
u8g2_Setup_st7567_64x32_2(&u8g2, rotation, u8x8_byte_sw_i2c,
u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_SW_I2C(getU8x8(), clock, data, reset);
}
};
class U8G2_ST7567_64X32_2_HW_I2C: public U8G2 {
class U8G2_ST7567_64X32_2_HW: public U8G2 {
public:
U8G2_ST7567_64X32_2_HW_I2C(const u8g2_cb_t *rotation, uint8_t reset =
U8G2_ST7567_64X32_2_HW(const u8g2_cb_t *rotation, uint8_t reset =
U8X8_PIN_NONE, uint8_t clock = U8X8_PIN_NONE, uint8_t data =
U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_64x32_2(&u8g2, rotation,
u8g2_Setup_st7567_64x32_2(&u8g2, rotation,
u8x8_byte_arm_linux_hw_i2c, u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_HW_I2C(getU8x8(), reset, clock, data);
}
};
class U8G2_ST7567_HEM6432_2_SW_I2C: public U8G2 {
class U8G2_ST7567_HEM6432_2_SW: public U8G2 {
public:
U8G2_ST7567_HEM6432_2_SW_I2C(const u8g2_cb_t *rotation, uint8_t clock,
U8G2_ST7567_HEM6432_2_SW(const u8g2_cb_t *rotation, uint8_t clock,
uint8_t data, uint8_t reset = U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_hem6432_2(&u8g2, rotation, u8x8_byte_sw_i2c,
u8g2_Setup_st7567_hem6432_2(&u8g2, rotation, u8x8_byte_sw_i2c,
u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_SW_I2C(getU8x8(), clock, data, reset);
}
};
class U8G2_ST7567_HEM6432_2_HW_I2C: public U8G2 {
class U8G2_ST7567_HEM6432_2_HW: public U8G2 {
public:
U8G2_ST7567_HEM6432_2_HW_I2C(const u8g2_cb_t *rotation, uint8_t reset =
U8G2_ST7567_HEM6432_2_HW(const u8g2_cb_t *rotation, uint8_t reset =
U8X8_PIN_NONE, uint8_t clock = U8X8_PIN_NONE, uint8_t data =
U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_hem6432_2(&u8g2, rotation,
u8g2_Setup_st7567_hem6432_2(&u8g2, rotation,
u8x8_byte_arm_linux_hw_i2c, u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_HW_I2C(getU8x8(), reset, clock, data);
}
};
class U8G2_ST7567_64X32_F_SW_I2C: public U8G2 {
class U8G2_ST7567_64X32_F_SW: public U8G2 {
public:
U8G2_ST7567_64X32_F_SW_I2C(const u8g2_cb_t *rotation, uint8_t clock,
U8G2_ST7567_64X32_F_SW(const u8g2_cb_t *rotation, uint8_t clock,
uint8_t data, uint8_t reset = U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_64x32_f(&u8g2, rotation, u8x8_byte_sw_i2c,
u8g2_Setup_st7567_64x32_f(&u8g2, rotation, u8x8_byte_sw_i2c,
u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_SW_I2C(getU8x8(), clock, data, reset);
}
};
class U8G2_ST7567_64X32_F_HW_I2C: public U8G2 {
class U8G2_ST7567_64X32_F_HW: public U8G2 {
public:
U8G2_ST7567_64X32_F_HW_I2C(const u8g2_cb_t *rotation, uint8_t reset =
U8G2_ST7567_64X32_F_HW(const u8g2_cb_t *rotation, uint8_t reset =
U8X8_PIN_NONE, uint8_t clock = U8X8_PIN_NONE, uint8_t data =
U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_64x32_f(&u8g2, rotation,
u8g2_Setup_st7567_64x32_f(&u8g2, rotation,
u8x8_byte_arm_linux_hw_i2c, u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_HW_I2C(getU8x8(), reset, clock, data);
}
};
class U8G2_ST7567_HEM6432_F_SW_I2C: public U8G2 {
class U8G2_ST7567_HEM6432_F_SW: public U8G2 {
public:
U8G2_ST7567_HEM6432_F_SW_I2C(const u8g2_cb_t *rotation, uint8_t clock,
U8G2_ST7567_HEM6432_F_SW(const u8g2_cb_t *rotation, uint8_t clock,
uint8_t data, uint8_t reset = U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_hem6432_f(&u8g2, rotation, u8x8_byte_sw_i2c,
u8g2_Setup_st7567_hem6432_f(&u8g2, rotation, u8x8_byte_sw_i2c,
u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_SW_I2C(getU8x8(), clock, data, reset);
}
};
class U8G2_ST7567_HEM6432_F_HW_I2C: public U8G2 {
class U8G2_ST7567_HEM6432_F_HW: public U8G2 {
public:
U8G2_ST7567_HEM6432_F_HW_I2C(const u8g2_cb_t *rotation, uint8_t reset =
U8G2_ST7567_HEM6432_F_HW(const u8g2_cb_t *rotation, uint8_t reset =
U8X8_PIN_NONE, uint8_t clock = U8X8_PIN_NONE, uint8_t data =
U8X8_PIN_NONE) :
U8G2() {
u8g2_Setup_st7567_i2c_hem6432_f(&u8g2, rotation,
u8g2_Setup_st7567_hem6432_f(&u8g2, rotation,
u8x8_byte_arm_linux_hw_i2c, u8x8_arm_linux_gpio_and_delay);
u8x8_SetPin_HW_I2C(getU8x8(), reset, clock, data);
}