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

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

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

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

      2. 新聞中心

        STM8窗口看門狗

        作者: 時(shí)間:2016-11-21 來源:網(wǎng)絡(luò) 收藏
        #include "stm8s.h"

        uint8_t u8_value;
        FlagStatus fs;

        本文引用地址:http://www.antipu.com.cn/article/201611/319382.htm

        void main(void)
        {
        GPIO_DeInit(GPIOD);
        GPIO_Init(GPIOD, GPIO_PIN_ALL, GPIO_MODE_OUT_PP_LOW_SLOW);

        fs = RST_GetFlagStatus(RST_FLAG_WWDGF);
        if(fs != RESET)
        {
        RST_ClearFlag(RST_FLAG_WWDGF);
        GPIO_WriteHigh(GPIOD, GPIO_PIN_0);
        }
        WWDG_Init(0x7f, 0x60);
        while (1)
        {
        u8_value = WWDG_GetCounter();
        if((u8_value & 0x7f) < 0x60)
        {
        WWDG_SetCounter(0x7f);
        }
        }
        }


        關(guān)鍵詞: STM8窗口看門

        評(píng)論


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

        關(guān)閉