|
int32_t | tlc5947_init (int32_t index, struct spi *spi, uint32_t cs, uint32_t spi_gpio, struct gpio *gpio, uint32_t black) |
|
int32_t | tlc5947_deinit (int32_t index) |
|
This is the TLC5947 Driver.
◆ TLC5947_ADDDEV
#define TLC5947_ADDDEV |
( |
|
id | ) |
|
◆ TLC5947_GPIO_ID
#define TLC5947_GPIO_ID |
( |
|
id | ) |
HAL_GET_ID(gpio, tlc5947, tlc5947_##id##_gpio) |
◆ TLC5947_ID
◆ TLC5947_PWM_ID
#define TLC5947_PWM_ID |
( |
|
id, |
|
|
|
channelID |
|
) |
| HAL_GET_ID(pwm, tlc5947, tlc5947_##id##_pwm_##channelID) |
◆ tlc5947_deinit()
int32_t tlc5947_deinit |
( |
int32_t |
index | ) |
|
◆ tlc5947_init()
int32_t tlc5947_init |
( |
int32_t |
index, |
|
|
struct spi * |
spi, |
|
|
uint32_t |
cs, |
|
|
uint32_t |
spi_gpio, |
|
|
struct gpio * |
gpio, |
|
|
uint32_t |
black |
|
) |
| |