?? config.h
字號:
//包含所需頭文件
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
#include <avr/pgmspace.h>
#include <compat/ina90.h>
#include <util/twi.h>
#include <util/delay.h>
/*------宏定義------*/
typedef signed char int8;
typedef unsigned char uint8;
typedef signed int int16;
typedef unsigned int uint16;
typedef signed long int32;
typedef unsigned long uint32;
#define BIT(x) (1<<(x))
#define NOP() asm("nop")
#define WDR() asm("wdr")
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef OK
#define OK 1
#endif
#ifndef NO_OK
#define NO_OK 0
#endif
#define UART_BAUD_RATE 19200
#define UBRR_VALUE ((F_CPU/16)/UART_BAUD_RATE-1)
#define FCLK_IO (F_CPU)
#define TIMER0_TICK 0.01
#define TIMER0_DATA (FCLK_IO*TIMER0_TICK/1024)
#define EE_D80_COCO 0x10
#define EE_D80_MU_ID 0x12
#define EE_VOLUME_STORE 0x20
#define USE_SOUND_EQ
/******************************************************************
I/O Define
******************************************************************/
// System Flag Bits Define
typedef struct
{
unsigned RxValid :1;
unsigned UartAcked :1;
unsigned KeyValid :1;
unsigned DARR80_InSync :1;
unsigned Unused :4;
} SysFlag_t;
extern SysFlag_t SysFlag;
extern uint8 KeyValue;
#include "Board_Func.h"
#include "ISR_Func.h"
//#include "iPodControl.h"
#include "LCD_ST7565.h"
#include "PushButtonProc.h"
//#include "FM_Func.h"
//#include "dsp_cs48540.h"
//#include "darr80_func.h"
//#include "SPDIF_cs8416.h"
//#include "soundseting.h"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -