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

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

?? sysctl.c

?? 飛利浦LM3S系列ARM的庫文件,在進(jìn)行arm開發(fā)時(shí)所必須的庫文件,直接加到工程中,一般不必修改.
?? C
?? 第 1 頁 / 共 5 頁
字號(hào):
           (ulPeripheral == SYSCTL_PERIPH_I2C) ||
           (ulPeripheral == SYSCTL_PERIPH_TIMER0) ||
           (ulPeripheral == SYSCTL_PERIPH_TIMER1) ||
           (ulPeripheral == SYSCTL_PERIPH_TIMER2) ||
           (ulPeripheral == SYSCTL_PERIPH_COMP0) ||
           (ulPeripheral == SYSCTL_PERIPH_COMP1) ||
           (ulPeripheral == SYSCTL_PERIPH_COMP2) ||
           (ulPeripheral == SYSCTL_PERIPH_GPIOA) ||
           (ulPeripheral == SYSCTL_PERIPH_GPIOB) ||
           (ulPeripheral == SYSCTL_PERIPH_GPIOC) ||
           (ulPeripheral == SYSCTL_PERIPH_GPIOD) ||
           (ulPeripheral == SYSCTL_PERIPH_GPIOE));

    //
    // Disable this peripheral in deep-sleep mode.
    //
    HWREG(g_pulDCGCRegs[ulPeripheral >> 28]) &= ~(ulPeripheral & 0x0fffffff);
}

//*****************************************************************************
//
//! Controls peripheral clock gating in sleep and deep-sleep mode.
//!
//! \param bEnable is a boolean that is \b true if the sleep and deep-sleep
//! peripheral configuration should be used and \b false if not.
//!
//! This function controls how peripherals are clocked when the processor goes
//! into sleep or deep-sleep mode.  By default, the peripherals are clocked the
//! same as in run mode; if peripheral clock gating is enabled they are clocked
//! according to the configuration set by SysCtlPeripheralSleepEnable(),
//! SysCtlPeripheralSleepDisable(), SysCtlPeripheralDeepSleepEnable(), and
//! SysCtlPeripheralDeepSleepDisable().
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlPeripheralClockGating(tBoolean bEnable)
{
    //
    // Enable peripheral clock gating as requested.
    //
    if(bEnable)
    {
        HWREG(SYSCTL_RCC) |= SYSCTL_RCC_ACG;
    }
    else
    {
        HWREG(SYSCTL_RCC) &= ~(SYSCTL_RCC_ACG);
    }
}

//*****************************************************************************
//
//! Registers an interrupt.handler for the system control interrupt.
//!
//! \param pfnHandler is a pointer to the function to be called when the system
//! control interrupt occurs.
//!
//! This sets the handler to be called when a system control interrupt occurs.
//! This will enable the global interrupt in the interrupt controller; specific
//! system control interrupts must be enabled via SysCtlIntEnable().  It is the
//! interrupt.handler's responsibility to clear the interrupt source via
//! SysCtlIntClear().
//!
//! System control can generate interrupts when the PLL achieves lock, if the
//! internal LDO current limit is exceeded, if the internal oscillator fails,
//! if the main oscillator fails, if the internal LDO output voltage droops too
//! much, if the external voltage droops too much, or if the PLL fails.
//!
//! \sa IntRegister() for important information about registering interrupt
//! handlers.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlIntRegister(void (*pfnHandler)(void))
{
    //
    // Register the interrupt.handler, returning an error if an error occurs.
    //
    IntRegister(INT_SYSCTL, pfnHandler);

    //
    // Enable the system control interrupt.
    //
    IntEnable(INT_SYSCTL);
}

//*****************************************************************************
//
//! Unregisters the interrupt.handler for the system control interrupt.
//!
//! This function will clear the handler to be called when a system control
//! interrupt occurs.  This will also mask off the interrupt in the interrupt
//! controller so that the interrupt.handler no longer is called.
//!
//! \sa IntRegister() for important information about registering interrupt
//! handlers.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlIntUnregister(void)
{
    //
    // Disable the interrupt.
    //
    IntDisable(INT_SYSCTL);

    //
    // Unregister the interrupt.handler.
    //
    IntUnregister(INT_SYSCTL);
}

//*****************************************************************************
//
//! Enables individual system control interrupt sources.
//!
//! \param ulInts is a bit mask of the interrupt sources to be enabled.  Must
//! be a logical OR of \b SYSCTL_INT_PLL_LOCK, \b SYSCTL_INT_CUR_LIMIT,
//! \b SYSCTL_INT_IOSC_FAIL, \b SYSCTL_INT_MOSC_FAIL, \b SYSCTL_INT_POR,
//! \b SYSCTL_INT_BOR, and/or \b SYSCTL_INT_PLL_FAIL.
//!
//! Enables the indicated system control interrupt sources.  Only the sources
//! that are enabled can be reflected to the processor interrupt; disabled
//! sources have no effect on the processor.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlIntEnable(unsigned long ulInts)
{
    //
    // Enable the specified interrupts.
    //
    HWREG(SYSCTL_IMC) |= ulInts;
}

//*****************************************************************************
//
//! Disables individual system control interrupt sources.
//!
//! \param ulInts is a bit mask of the interrupt sources to be disabled.  Must
//! be a logical OR of \b SYSCTL_INT_PLL_LOCK, \b SYSCTL_INT_CUR_LIMIT,
//! \b SYSCTL_INT_IOSC_FAIL, \b SYSCTL_INT_MOSC_FAIL, \b SYSCTL_INT_POR,
//! \b SYSCTL_INT_BOR, and/or \b SYSCTL_INT_PLL_FAIL.
//!
//! Disables the indicated system control interrupt sources.  Only the sources
//! that are enabled can be reflected to the processor interrupt; disabled
//! sources have no effect on the processor.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlIntDisable(unsigned long ulInts)
{
    //
    // Disable the specified interrupts.
    //
    HWREG(SYSCTL_IMC) &= ~(ulInts);
}

//*****************************************************************************
//
//! Clears system control interrupt sources.
//!
//! \param ulInts is a bit mask of the interrupt sources to be cleared.  Must
//! be a logical OR of \b SYSCTL_INT_PLL_LOCK, \b SYSCTL_INT_CUR_LIMIT,
//! \b SYSCTL_INT_IOSC_FAIL, \b SYSCTL_INT_MOSC_FAIL, \b SYSCTL_INT_POR,
//! \b SYSCTL_INT_BOR, and/or \b SYSCTL_INT_PLL_FAIL.
//!
//! The specified system control interrupt sources are cleared, so that they no
//! longer assert.  This must be done in the interrupt.handler to keep it from
//! being called again immediately upon exit.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlIntClear(unsigned long ulInts)
{
    //
    // Clear the requested interrupt sources.
    //
    HWREG(SYSCTL_MISC) = ulInts;
}

//*****************************************************************************
//
//! Gets the current interrupt status.
//!
//! \param bMasked is false if the raw interrupt status is required and true if
//! the masked interrupt status is required.
//!
//! This returns the interrupt status for the system controller.  Either the
//! raw interrupt status or the status of interrupts that are allowed to
//! reflect to the processor can be returned.
//!
//! \return The current interrupt status, enumerated as a bit field of
//! \b SYSCTL_INT_PLL_LOCK, \b SYSCTL_INT_CUR_LIMIT, \b SYSCTL_INT_IOSC_FAIL,
//! \b SYSCTL_INT_MOSC_FAIL, \b SYSCTL_INT_POR, \b SYSCTL_INT_BOR, and
//! \b SYSCTL_INT_PLL_FAIL.
//
//*****************************************************************************
unsigned long
SysCtlIntStatus(tBoolean bMasked)
{
    //
    // Return either the interrupt status or the raw interrupt status as
    // requested.
    //
    if(bMasked)
    {
        return(HWREG(SYSCTL_MISC));
    }
    else
    {
        return(HWREG(SYSCTL_RIS));
    }
}

//*****************************************************************************
//
//! Sets the output voltage of the LDO.
//!
//! \param ulVoltage is the required output voltage from the LDO.  Must be one
//! of \b SYSCTL_LDO_2_25V, \b SYSCTL_LDO_2_30V, \b SYSCTL_LDO_2_35V,
//! \b SYSCTL_LDO_2_40V, \b SYSCTL_LDO_2_45V, \b SYSCTL_LDO_2_50V,
//! \b SYSCTL_LDO_2_55V, \b SYSCTL_LDO_2_60V, \b SYSCTL_LDO_2_65V,
//! \b SYSCTL_LDO_2_70V, or \b SYSCTL_LDO_2_75V.
//!
//! This function sets the output voltage of the LDO.  The default voltage is
//! 2.5 V; it can be adjusted +/- 10%.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlLDOSet(unsigned long ulVoltage)
{
    //
    // Check the arguments.
    //
    ASSERT((ulVoltage == SYSCTL_LDO_2_25V) ||
           (ulVoltage == SYSCTL_LDO_2_30V) ||
           (ulVoltage == SYSCTL_LDO_2_35V) ||
           (ulVoltage == SYSCTL_LDO_2_40V) ||
           (ulVoltage == SYSCTL_LDO_2_45V) ||
           (ulVoltage == SYSCTL_LDO_2_50V) ||
           (ulVoltage == SYSCTL_LDO_2_55V) ||
           (ulVoltage == SYSCTL_LDO_2_60V) ||
           (ulVoltage == SYSCTL_LDO_2_65V) ||
           (ulVoltage == SYSCTL_LDO_2_70V) ||
           (ulVoltage == SYSCTL_LDO_2_75V));

    //
    // Set the LDO voltage to the requested value.
    //
    HWREG(SYSCTL_LDOPCTL) = ulVoltage;
}

//*****************************************************************************
//
//! Gets the output voltage of the LDO.
//!
//! This function determines the output voltage of the LDO, as specified by the
//! control register.
//!
//! \return Returns the current voltage of the LDO; will be one of
//! \b SYSCTL_LDO_2_25V, \b SYSCTL_LDO_2_30V, \b SYSCTL_LDO_2_35V,
//! \b SYSCTL_LDO_2_40V, \b SYSCTL_LDO_2_45V, \b SYSCTL_LDO_2_50V,
//! \b SYSCTL_LDO_2_55V, \b SYSCTL_LDO_2_60V, \b SYSCTL_LDO_2_65V,
//! \b SYSCTL_LDO_2_70V, or \b SYSCTL_LDO_2_75V.
//
//*****************************************************************************
unsigned long
SysCtlLDOGet(void)
{
    //
    // Return the LDO voltage setting.
    //
    return(HWREG(SYSCTL_LDOPCTL));
}

//*****************************************************************************
//
//! Configures the LDO failure control.
//!
//! \param ulConfig is the required LDO failure control setting; can be either
//! \b SYSCTL_LDOCFG_ARST or \b SYSCTL_LDOCFG_NORST.
//!
//! This function allows the LDO to be configured to cause a processor reset
//! when the output voltage becomes unregulated.
//!
//! \return None.
//
//*****************************************************************************
void
SysCtlLDOConfigSet(unsigned long ulConfig)
{
    //
    // Check hte arguments.
    //
    ASSERT((ulConfig == SYSCTL_LDOCFG_ARST) ||
           (ulConfig == SYSCTL_LDOCFG_NORST));

    //
    // Set the reset control as requested.
    //
    HWREG(SYSCTL_LDOARST) = ulConfig;
}

//*****************************************************************************
//
//! Resets the device.
//!
//! This function will perform a software reset of the entire device.  The
//! processor and all peripherals will be reset and all device registers will
//! return to their default values (with the exception of the reset cause
//! register, which will maintain its current value but have the software reset
//! bit set as well).
//!
//! \return This function does not return.
//
//*****************************************************************************
void
SysCtlReset(void)
{
    //
    // Perform a software reset request.  This will cause the device to reset,
    // no further code will be executed.
    //
    HWREG(NVIC_APINT) = NVIC_APINT_VECTKEY | NVIC_APINT_SYSRESETREQ;

    //
    // The device should have reset, so this should never be reached.  Just in
    // case, loop forever.
    //
    while(1)
    {
    }
}

//*****************************************************************************
//
//! Puts the processor into sleep mode.
//!
//! This function places the processor into sleep mode; it will not return
//! until the processor returns to run mode.  The peripherals that are enabled
//! via SysCtlPeripheralSleepEnable() continue to operate and can wake up the
//! processor (if automatic clock gating is enabled with
//! SysCtlPeripheralClockGating(), otherwise all peripherals continue to
//! operate).
//!

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产免费观看久久| 中文字幕第一页久久| 欧美日韩在线播放一区| 成人美女视频在线观看18| 国产一区二区福利| 国产精品亚洲一区二区三区在线 | 欧美欧美欧美欧美首页| 亚洲人吸女人奶水| 一二三区精品视频| 午夜精品在线看| 激情小说亚洲一区| 日韩欧美国产精品| 精品一区二区在线观看| 麻豆成人综合网| 欧美一区二区三区视频| 精品系列免费在线观看| 亚洲精品在线免费播放| 精品系列免费在线观看| 久久精品夜色噜噜亚洲aⅴ| 国产亚洲欧美日韩日本| 国产老肥熟一区二区三区| 久久网站热最新地址| 亚洲国产岛国毛片在线| aaa欧美日韩| 亚洲精品欧美专区| 蜜桃av一区二区| 精品欧美一区二区三区精品久久 | 亚洲国产日产av| 欧美日韩一区二区三区高清 | 蜜桃视频一区二区三区在线观看| 91精品国产欧美一区二区18| 国产一区二区三区日韩| 欧美国产精品一区| 色婷婷av一区二区三区软件| 五月婷婷综合在线| 91精品久久久久久久久99蜜臂| 视频一区视频二区在线观看| 日韩一区二区在线播放| 成人性生交大片免费看在线播放| 亚洲欧美日韩在线| 日韩精品一区二区三区蜜臀| 国产成人精品1024| 亚洲成人精品一区| 久久午夜电影网| 在线观看不卡视频| 韩国一区二区视频| 一区二区三区精密机械公司| 日韩女优制服丝袜电影| 色综合久久久久网| 精品在线一区二区三区| 亚洲美女在线一区| 精品成a人在线观看| 91传媒视频在线播放| 精品国产区一区| 91精品办公室少妇高潮对白| 久久精品99久久久| 亚洲国产综合视频在线观看| 国产视频一区二区在线观看| 678五月天丁香亚洲综合网| 国产91丝袜在线播放九色| 午夜电影网一区| 国产精品麻豆欧美日韩ww| 777午夜精品免费视频| 99亚偷拍自图区亚洲| 麻豆免费看一区二区三区| 综合激情成人伊人| 色综合久久88色综合天天| 麻豆精品在线播放| 亚洲午夜久久久| 亚洲欧美综合色| 日韩精品专区在线影院观看| 在线观看欧美精品| 成人免费电影视频| 国产成人午夜精品5599| 免费欧美高清视频| 亚洲成a人片在线不卡一二三区| 国产精品久久久久一区二区三区共| 欧美一区二区黄| 欧美日韩亚洲综合| 91亚洲精品乱码久久久久久蜜桃 | 国产精品色婷婷久久58| 欧美成人精精品一区二区频| 欧美日韩高清一区二区不卡| 色激情天天射综合网| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 一区二区三区不卡视频在线观看| 国产日韩成人精品| 日韩欧美亚洲一区二区| 51精品秘密在线观看| 欧美色综合影院| 欧美三级在线看| 在线观看欧美精品| 欧美天天综合网| 欧美丝袜自拍制服另类| 色天使色偷偷av一区二区| 91女厕偷拍女厕偷拍高清| www.视频一区| 97se亚洲国产综合在线| 91一区在线观看| 欧美在线三级电影| 欧美三电影在线| 欧美日韩色综合| 日韩一区二区中文字幕| 日韩欧美高清一区| 精品久久久久久久人人人人传媒| 欧美一区二区三区精品| 91精品国产综合久久蜜臀| 91麻豆精品国产| 欧美一级日韩一级| 欧美va日韩va| 国产精品嫩草影院com| 亚洲天堂a在线| 亚洲电影第三页| 免费高清在线视频一区·| 狠狠色丁香久久婷婷综| 国产mv日韩mv欧美| 91热门视频在线观看| 欧美日韩视频一区二区| 日韩精品最新网址| 日韩免费观看高清完整版| 久久久久久黄色| 国产精品网站在线| 一区二区三区四区中文字幕| 亚洲大片精品永久免费| 亚洲国产一区二区三区青草影视| 日韩激情一二三区| 国产盗摄一区二区| 日本道精品一区二区三区| 欧美一级欧美一级在线播放| 久久亚洲综合色| 一区二区在线看| 麻豆精品久久精品色综合| 粉嫩蜜臀av国产精品网站| 欧美日韩一区视频| 精品国产精品网麻豆系列| 中文字幕一区免费在线观看| 亚洲国产精品自拍| 国产精品一区二区三区乱码| 在线观看国产91| 26uuu亚洲综合色| 一区二区三区免费网站| 精品系列免费在线观看| 91久久人澡人人添人人爽欧美| 日韩欧美的一区二区| 中文字幕中文字幕中文字幕亚洲无线| 亚洲成人免费在线观看| 成人一区二区三区中文字幕| 欧美日韩一级黄| 国产欧美精品一区| 三级欧美韩日大片在线看| av欧美精品.com| 精品国产免费久久| 亚洲国产成人91porn| 成人免费视频播放| 日韩欧美三级在线| 午夜电影网一区| 91麻豆swag| 国产三区在线成人av| 日本伊人精品一区二区三区观看方式| 成人激情电影免费在线观看| 日韩欧美资源站| 一二三区精品视频| 99视频在线观看一区三区| 精品免费国产一区二区三区四区| 亚洲一区二区三区四区五区黄| 成人avav影音| 久久久久久久久久久久久久久99| 亚洲r级在线视频| 91在线视频免费91| 国产色爱av资源综合区| 国产一区二区三区四区五区入口 | 日韩一级黄色片| 一区二区三区四区国产精品| 成人一级片在线观看| 久久蜜桃香蕉精品一区二区三区| 日本女人一区二区三区| 欧美日韩午夜在线视频| 亚洲不卡在线观看| 欧美日韩一区二区三区在线| 亚洲男人的天堂在线aⅴ视频| 高清不卡一区二区在线| 久久久国际精品| 日本午夜精品视频在线观看| 6080国产精品一区二区| 日韩高清不卡在线| 日日夜夜精品免费视频| 欧美色网一区二区| 久久超碰97中文字幕| 欧美激情一区二区三区四区| 91免费观看国产| 日日摸夜夜添夜夜添精品视频| 337p日本欧洲亚洲大胆色噜噜| 成人性生交大片免费看中文| 亚洲影视在线观看| 欧美第一区第二区| av在线播放不卡| 五月激情综合网| 国产午夜亚洲精品不卡| 91电影在线观看| 黄色日韩三级电影|