mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-15 20:59:22 +08:00
13 lines
284 B
C
13 lines
284 B
C
#ifndef __DRV_LED_H
|
|
#define __DRV_LED_H
|
|
|
|
/* Clock Control Unit register bits */
|
|
#define CCU_CLK_CFG_RUN (1 << 0)
|
|
#define CCU_CLK_CFG_AUTO (1 << 1)
|
|
#define CCU_CLK_STAT_RUN (1 << 0)
|
|
|
|
#define LED_DEVICE_CTRL 0x81 /*LED control command*/
|
|
|
|
int rt_led_hw_init(void);
|
|
#endif
|