|
One Framework 0.1.0
RoboMaster嵌入式框架“一键”解决方案,为你的“创意”服务。
|
结构体 | |
| struct | led_pixel_pwm_config |
宏定义 | |
| #define | DT_DRV_COMPAT led_pixel_pwm |
| #define | GET_LED_DEV(inst, prop) |
| #define | GET_LED_IDX(inst, prop) |
| #define | INST_PWM(n) |
函数 | |
| static uint8_t | led_scale_int (const uint16_t v, const uint8_t p) |
| static int | led_pixel_pwm_set (const struct device *dev, const struct led_color color, const uint8_t bright_percent) |
| static int | led_pixel_pwm_off (const struct device *dev) |
| static int | led_pixel_pwm_on (const struct device *dev) |
| DT_INST_FOREACH_STATUS_OKAY (INST_PWM) | |
| #define DT_DRV_COMPAT led_pixel_pwm |
| #define GET_LED_DEV | ( | inst, | |
| prop ) |
| #define GET_LED_IDX | ( | inst, | |
| prop ) |
| #define INST_PWM | ( | n | ) |
| DT_INST_FOREACH_STATUS_OKAY | ( | INST_PWM | ) |
|
static |
|
static |
|
static |
|
inlinestatic |