音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費注冊 首頁 | 行業(yè)黑名單 | 幫助
維庫電子市場網(wǎng)
技術交流 | 電路欣賞 | 工控天地 | 數(shù)字廣電 | 通信技術 | 電源技術 | 測控之家 | EMC技術 | ARM技術 | EDA技術 | PCB技術 | 嵌入式系統(tǒng)
驅動編程 | 集成電路 | 器件替換 | 模擬技術 | 新手園地 | 單 片 機 | DSP技術 | MCU技術 | IC 設計 | IC 產(chǎn)業(yè) | CAN-bus/DeviceNe

KEIL中的以下警告對程序運行有什么影響?

作者:sky134579 欄目:單片機
KEIL中的以下警告對程序運行有什么影響?
Build target 'Target 1'
compiling 8051ucode.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?POWER_OFF?8051UCODE
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?DO_ACK?8051UCODE
Program Size: data=50.1 xdata=0 code=1523
creating hex file from "J1"...
"J1" - 0 Error(s), 2 Warning(s).

以上兩個警告對程序會造成什么影響呢?
請各位指導一下

2樓: >>參與討論
computer00
沒什么影響。沒調用而已。
 
3樓: >>參與討論
sky134579
謝謝圈圈!
圈圈大哥可以幫我看一下下面的遙控接收處理程序嗎?
我實在找不到錯了.
/*
interrupt 0    External Interrupt 0    (Remote CONTROL)
interrupt 1    Timer 0                (562.5us)
interrupt 2    External Interrupt 1    (I2C SCL)
interrupt 3    Timer 1                (25ms)
interrupt 4    RS232C                Disabled
interrupt 5    Timer 2                Disabled
*/

/********************************************************************
* Function NAME: IR_Falling_Edge_ISR  
* Input Parameters:   None
* Return VALUE:    None
* DESCRIPTION:    interrupt 0    External Interrupt 0    (Remote CONTROL)
* This interrupt service routine is triggered at the falling edge of IR signal
********************************************************************/
void IR_Falling_Edge_ISR(void) interrupt 0
{
    static u8    bitcount;         /* bits counter */
    static u8    IR_State=IDLE;
    static u8    data1;
    static u8    data2;
    static bit    valid_repeat;   
    int t0;
    
    EX0 = 0;    /* disable externel interrupt 0 */
          
    /* calculate the clock */
    TR1=0;
    t0=(TH1<<8)|TL1;    /* Get the time between the two interrupts */
    TH1=0;
    TL1=0;
    TR1=1;  

/*   Jack 7/13 17:02  */  
/***    IR_processing is no longer used.  ****/
/*   <<This flag prevents the reception of REPEAT keys & hence is not GOOD enough.>>  */
/*
    if(IR_processing==1)
    {
        EX0=1;
        return;
    }
*/                       
    SWITCH(IR_State)
    {
        case IDLE:            
            IR_State = LEADER_ON;    //LEAD PULSE received.
            break;

        case LEADER_ON:                                                    
            if ( (t0 > NORMAL_HEADER_L) && (t0 < NORMAL_HEADER_R) )
            {                                              
                IR_State = CUSTOM;
                valid_repeat = 0;
                IR_Repeat = 0;
                data1 = 0;
                data2 = 0;
                bitcount = 0;
            }
            else
            {                                     
                if ( (t0 > REPEAT_HEADER_L) && (t0 < REPEAT_HEADER_R) )
                {                                                                                                                                                                               
                    if (valid_repeat)                     
                        IR_Repeat = 1;
                }
                                                                
                /* IR_State = IDLE; */
              &nb
4樓: >>參與討論
computer00
這個太長了,看起來暈人啊,你還是自己慢慢檢查吧。
 
5樓: >>參與討論
sky134579
問題搞定了
是在頭文件中BIT_0及BIT_1的定義出了點小問題,還是馬虎.

參與討論
昵稱:
討論內(nèi)容:
 
 
相關帖子
在keilC里面為什么老說文件找不到呢?
液晶相關(初學者問)
我用cy7c68013,總是出現(xiàn)一下窗口,應該是對了,可是EZ-USB Co..
關于6N137用法的問題?
問一個很R的問題,請大蝦回答。
免費注冊為維庫電子開發(fā)網(wǎng)會員,參與電子工程師社區(qū)討論,點此進入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號