Searched refs:MAX7219_DIGITS_PER_DEVICE (Results 1 – 1 of 1) sorted by relevance
36 #define MAX7219_DIGITS_PER_DEVICE 8 macro149 const uint16_t max_height = dev_config->num_cascading * MAX7219_DIGITS_PER_DEVICE; in max7219_write()179 const uint8_t max7219_idx = py / MAX7219_DIGITS_PER_DEVICE; in max7219_write()180 const uint8_t digit_idx = py % MAX7219_DIGITS_PER_DEVICE; in max7219_write()250 caps->y_resolution = MAX7219_DIGITS_PER_DEVICE * dev_config->num_cascading; in max7219_get_capabilities()278 dev_config->num_cascading * MAX7219_DIGITS_PER_DEVICE * sizeof(uint8_t)); in max7219_init()311 .buf_size = dev_config->num_cascading * MAX7219_DIGITS_PER_DEVICE, in max7219_init()312 .height = dev_config->num_cascading * MAX7219_DIGITS_PER_DEVICE, in max7219_init()313 .width = MAX7219_DIGITS_PER_DEVICE, in max7219_init()314 .pitch = MAX7219_DIGITS_PER_DEVICE, in max7219_init()[all …]