亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? hal_mcu.c

?? cc2430最新的例子程序
?? C
字號:
/***********************************************************************************
  Filename:     hal_mcu.c

  Description:  hal mcu library

***********************************************************************************/


#include "hal_types.h"
#include "hal_mcu.h"

#include "clock.h"

/***********************************************************************************
* @fn          halMcuInit
*
* @brief       Set system clock
*
* @param       none
*
* @return      none
*/
void halMcuInit(void)
{
    clockSetMainSrc(CLOCK_SRC_XOSC);
}


/***********************************************************************************
* @fn          halMcuWaitUs
*
* @brief       Busy wait function. Waits the specified number of microseconds. Use
*              assumptions about number of clock cycles needed for the various
*              instructions. The duration of one cycle depends on MCLK. In this HAL
*              , it is set to 8 MHz, thus 8 cycles per usec.
*
*              NB! This function is highly dependent on architecture and compiler!
*
* @param       uint16 usec - number of microseconds delay
*
* @return      none
*/
void halMcuWaitUs(uint16 usec)
{
    while(usec--)
    {
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
        asm("nop");
    }
}

/***********************************************************************************
* @fn          halMcuWaitMs
*
* @brief       Busy wait function. Waits the specified number of milliseconds. Use
*              assumptions about number of clock cycles needed for the various
*              instructions.
*
*              NB! This function is highly dependent on architecture and compiler!
*
* @param       uint16 millisec - number of milliseconds delay
*
* @return      none
*/
void halMcuWaitMs(uint16 msec)
{
    while(msec--)
        halMcuWaitUs(1000);
}

/***********************************************************************************
* @fn          halMcuSetLowPowerMode
*
* @brief      Sets the MCU in a low power mode. Will turn global interrupts on at
*             the same time as entering the LPM mode. The MCU must be waken from
*             an interrupt (status register on stack must be modified).
*
*              NB! This function is highly dependent on architecture and compiler!
*
* @param       uint8 mode - power mode
*
* @return      none
*/
void halMcuSetLowPowerMode(uint8 mode)
{
  // comment: not yet implemented
  //HAL_ASSERT(FALSE);
}


/******************************************************************************
* @fn  halMcuReset
*
* @brief
* Resets the MCU. This utilize the watchdog timer as there is no other way
* for a software reset. The reset will not occur until ~2 ms.
* NB: The function will not return! (hangs until reset)
*
* Parameters:
*
* @param  void
*
* @return void
*
******************************************************************************/
void halMcuReset(void)
{
    const uint8 WDT_INTERVAL_MSEC_2=   0x03;   // after ~2 ms

    WDCTL = ((WDCTL & 0xFC) | (WDT_INTERVAL_MSEC_2 & 0x03));
    // Start watchdog
    WDCTL &= ~0x04;     // Select watchdog mode
    WDCTL |= 0x08;      // Enable timer
    while(1);                                   // Halt here until reset
}

/***********************************************************************************
  Copyright 2007 Texas Instruments Incorporated. All rights reserved.

  IMPORTANT: Your use of this Software is limited to those specific rights
  granted under the terms of a software license agreement between the user
  who downloaded the software, his/her employer (which must be your employer)
  and Texas Instruments Incorporated (the "License").  You may not use this
  Software unless you agree to abide by the terms of the License. The License
  limits your use, and you acknowledge, that the Software may not be modified,
  copied or distributed unless embedded on a Texas Instruments microcontroller
  or used solely and exclusively in conjunction with a Texas Instruments radio
  frequency transceiver, which is integrated into your product.  Other than for
  the foregoing purpose, you may not use, reproduce, copy, prepare derivative
  works of, modify, distribute, perform, display or sell this Software and/or
  its documentation for any purpose.

  YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
  PROVIDED 揂S IS

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
丝袜美腿成人在线| 中文字幕精品一区二区精品绿巨人 | 精品亚洲成a人| 精品嫩草影院久久| 国产一区在线视频| 欧美激情中文不卡| 色94色欧美sute亚洲线路一久| 亚洲欧美日韩国产综合| 在线精品视频免费播放| 天堂影院一区二区| 日韩免费视频线观看| 国产精品一区二区在线播放| 国产精品久久久久影院亚瑟| 91极品视觉盛宴| 免费成人你懂的| 国产亚洲一本大道中文在线| 成人免费视频免费观看| 欧美一级片免费看| 狠狠网亚洲精品| 欧美经典一区二区| 色久综合一二码| 亚洲国产视频网站| 欧美一区二区播放| 国产一区二区精品在线观看| 国产精品视频你懂的| 成人高清视频在线观看| 综合久久久久久久| 欧美精三区欧美精三区| 久久99精品国产91久久来源| 欧美激情一区三区| 日本高清成人免费播放| 日韩电影在线观看一区| 久久亚洲精品小早川怜子| 色综合色综合色综合色综合色综合| 亚洲a一区二区| 26uuu另类欧美| 一本久久a久久精品亚洲| 五月天亚洲精品| 国产精品色呦呦| 欧美日韩中字一区| 麻豆成人久久精品二区三区红| 国产精品人成在线观看免费| 色狠狠综合天天综合综合| 国模套图日韩精品一区二区| 中文字幕在线不卡国产视频| 精品国产亚洲在线| 欧美三级电影在线看| 久久国产精品无码网站| 亚洲欧洲成人精品av97| 日韩欧美一级在线播放| 色一情一伦一子一伦一区| 久久精品国产999大香线蕉| 亚洲丝袜自拍清纯另类| 日韩精品在线网站| 色猫猫国产区一区二在线视频| 精品一区二区三区视频| 中文字幕二三区不卡| 91片黄在线观看| 免费成人结看片| 亚洲一区二区三区在线播放| 国产区在线观看成人精品| 欧美日韩一区二区欧美激情 | 宅男在线国产精品| 国产精品一二三区在线| 日本午夜一区二区| 一区二区三区丝袜| 国产精品毛片大码女人| 2019国产精品| 欧美福利视频一区| 91福利区一区二区三区| 成人h精品动漫一区二区三区| 美女视频黄久久| 亚洲一区二区三区小说| 亚洲精品日韩综合观看成人91| 国产亚洲欧美在线| 日韩精品一区二区三区在线| 欧美在线你懂得| 91免费观看视频在线| 国产精品羞羞答答xxdd| 日韩高清中文字幕一区| 一区二区在线观看免费视频播放| 国产日本欧洲亚洲| 欧美剧情片在线观看| 一本大道久久精品懂色aⅴ| jvid福利写真一区二区三区| 国产精品一二一区| 激情丁香综合五月| 老司机精品视频线观看86| 天堂久久一区二区三区| 亚洲一区二区三区小说| 一区二区三区免费在线观看| 中文字幕中文字幕中文字幕亚洲无线| 欧美一区二区视频观看视频| 欧美成人午夜电影| 久久综合色播五月| 日韩美女视频一区二区| 亚洲人成在线观看一区二区| 一区二区三区在线观看欧美| 亚洲精品第1页| 日韩一区精品视频| 激情综合五月天| 97久久超碰精品国产| 欧美色网一区二区| 欧美精品色综合| 亚洲精品老司机| 亚洲精选在线视频| 青青青伊人色综合久久| 国内精品伊人久久久久av影院| 不卡av免费在线观看| 色综合中文综合网| 美女视频黄频大全不卡视频在线播放| 亚洲最大成人网4388xx| 亚洲18女电影在线观看| 日本不卡不码高清免费观看| 精品无人区卡一卡二卡三乱码免费卡| 久久99热国产| 99久久久久免费精品国产| 色成人在线视频| 在线播放日韩导航| 久久久久高清精品| 亚洲色图清纯唯美| 丝袜亚洲另类欧美| 国精产品一区一区三区mba桃花| 天堂影院一区二区| 91亚洲精华国产精华精华液| 欧美日韩精品欧美日韩精品| 国产日韩高清在线| 三级精品在线观看| 色欲综合视频天天天| 久久综合久久久久88| 亚洲成人你懂的| 成人午夜伦理影院| 日韩女优制服丝袜电影| 最新久久zyz资源站| 日韩成人一区二区三区在线观看| 国产一区二区三区四区五区入口| 99re成人精品视频| 欧美岛国在线观看| 亚洲精品日产精品乱码不卡| 亚洲成人免费看| 成人免费视频视频在线观看免费 | 国产成人在线影院| 欧美在线三级电影| 国产亚洲欧美在线| 亚洲v日本v欧美v久久精品| 成人福利电影精品一区二区在线观看| 欧美三级韩国三级日本一级| 国产三级精品在线| 日本特黄久久久高潮| 9i看片成人免费高清| 91精品久久久久久蜜臀| 亚洲激情在线激情| 狠狠色丁香久久婷婷综| 91精品国产入口在线| 亚洲午夜久久久久久久久久久 | 日本不卡视频一二三区| 99久久99久久久精品齐齐| 欧美一区二区三区色| 尤物视频一区二区| 国产suv精品一区二区883| 欧美剧情电影在线观看完整版免费励志电影| 国产精品日产欧美久久久久| 精品一区二区三区蜜桃| 欧美三级视频在线播放| 亚洲欧美日韩国产另类专区| 蜜臀av性久久久久蜜臀av麻豆| 538在线一区二区精品国产| 亚洲婷婷国产精品电影人久久| 成人一道本在线| 久久久精品2019中文字幕之3| 午夜影院久久久| 97se亚洲国产综合在线| 欧美激情艳妇裸体舞| 国产在线精品免费| 精品乱人伦小说| 麻豆久久一区二区| 日韩一级成人av| 天堂成人国产精品一区| 欧美午夜一区二区| 亚洲一区二区视频在线| 色综合久久综合中文综合网| 国产精品日产欧美久久久久| 国产+成+人+亚洲欧洲自线| 欧美激情中文字幕一区二区| 国产福利91精品一区| 欧美国产精品一区二区| 国产91精品一区二区麻豆亚洲| 欧美一级二级三级乱码| 久久丁香综合五月国产三级网站| 日韩一级二级三级| 欧美aⅴ一区二区三区视频| 欧美mv日韩mv亚洲| 国产一区二区三区四| 精品成a人在线观看| 久久精品国产77777蜜臀| 久久影院午夜论| 成人理论电影网| 亚洲成人黄色小说| 欧美一区二区不卡视频| 国产美女视频91|