中文字幕 另类精品,亚洲欧美一区二区蜜桃,日本在线精品视频免费,孩交精品乱子片免费

<sup id="3hn2b"></sup>

    1. <sub id="3hn2b"><ol id="3hn2b"></ol></sub><legend id="3hn2b"></legend>

      1. <xmp id="3hn2b"></xmp>

      2. 新聞中心

        stm32驅(qū)動LCD

        作者: 時(shí)間:2016-11-20 來源:網(wǎng)絡(luò) 收藏
        (1)頭文件的編寫方法
        示例://頭文件 file.h

        #ifndefFILE_H//FILE_H可以隨便寫,只是一個(gè)標(biāo)號是為了防止頭文件重復(fù)定義
        #defineFILE_H//要和上面的這個(gè)一樣,

        voidfun();
        voidfun1();
        voidfun2();
        voidfun3();
        ..........
        ..........

        #endif//結(jié)束

        (2)關(guān)于結(jié)構(gòu)體的語法
        c語言中的寫法:
        struct student
        {
        ........
        };
        struct student student1,student2;
        c++中的寫法:
        struct student
        {
        .........
        };

        student student1,student2;
        通用的寫法:
        typedef struct
        {
        ........
        }student;

        student student1,student2;

        (3)Include Path
        注意包含文件時(shí)要在項(xiàng)目選項(xiàng)中添加Include Path。

        (4)關(guān)于GPIOx_BSRR和GPIOx_BRR寄存器
        兩個(gè)寄存器在沒有設(shè)置GPIOx_CRL和GPIOx_CRH對應(yīng)位為輸出地情況下是不起作用的。


        關(guān)鍵詞: stm32驅(qū)動LC

        評論


        技術(shù)專區(qū)

        關(guān)閉