ctr_mcu/trunk/led.h
fujita_ryohei 5e9ec34e61 V0.6 ベータ
全ファイルをindentに通した
ほか、たくさん修正

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@12 013db118-44a6-b54f-8bf7-843cb86687b1
2009-10-19 11:16:14 +00:00

38 lines
683 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __led__
#define __led__
// ====================================
// LED_DUTY
#define LED_duty_pow_L TDR07
#define LED_duty_pow_H TDR06
#define LED_duty_CHARGE TDR05
#define LED_duty_WiFi TDR03
#define LED_duty_CAM TDR02
#define LED_duty_TUNE TDR01
// wifi2ÍPWMūܹñ<E2809A>B
#define LED_BRIGHT_MAX 0x00FF
// ====================================
enum LED_ILUM_MODE
{
LED_POW_ILM_AUTO = 0,
LED_POW_ILM_ON,
LED_POW_ILM_HOTARU,
LED_POW_ILM_OFF,
LED_POW_ILM_ONLY_RED,
LED_POW_ILM_ONLY_BLUE
};
// ====================================
void LED_init( );
void LED_stop( );
#endif