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

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

?? core_cmfunc.h

?? LPC1788的USBHOST的FATFS移植
?? H
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
#endif


#if (__VER__) < 6020000
/** \brief  Set Process Stack Pointer

    This function assigns the given value to the Process Stack Pointer (PSP).

    \param [in]    topOfProcStack  Process Stack Pointer value to set
 */
static void __set_PSP(uint32_t topOfProcStack)
{
  __ASM("msr psp, r0");
}
#endif


#if (__VER__) < 6020000
/** \brief  Get Main Stack Pointer

    This function returns the current value of the Main Stack Pointer (MSP).

    \return               MSP Register value
 */
static uint32_t __get_MSP(void)
{
  __ASM("mrs r0, msp");
}
#endif

#if (__VER__) < 6020000
/** \brief  Set Main Stack Pointer

    This function assigns the given value to the Main Stack Pointer (MSP).

    \param [in]    topOfMainStack  Main Stack Pointer value to set
 */
static void __set_MSP(uint32_t topOfMainStack)
{
  __ASM("msr msp, r0");
}
#endif

/* intrinsic unsigned long __get_PRIMASK( void ); (see intrinsic.h) */
/* intrinsic void __set_PRIMASK( unsigned long ); (see intrinsic.h) */


#if       (__CORTEX_M >= 0x03)

/** \brief  Enable FIQ

    This function enables FIQ interrupts by clearing the F-bit in the CPSR.
    Can only be executed in Privileged modes.
 */
static __INLINE void __enable_fault_irq(void)
{
  __ASM ("cpsie f");
}


/** \brief  Disable FIQ

    This function disables FIQ interrupts by setting the F-bit in the CPSR.
    Can only be executed in Privileged modes.
 */
static __INLINE void __disable_fault_irq(void)
{
  __ASM ("cpsid f");
}


/* intrinsic unsigned long __get_BASEPRI( void );   (see intrinsic.h) */
/* intrinsic void __set_BASEPRI( unsigned long );   (see intrinsic.h) */
/* intrinsic unsigned long __get_FAULTMASK( void ); (see intrinsic.h) */
/* intrinsic void __set_FAULTMASK(unsigned long);   (see intrinsic.h) */

#endif /* (__CORTEX_M >= 0x03) */


#if       (__CORTEX_M == 0x04)

/** \brief  Get FPSCR

    This function returns the current value of the Floating Point Status/Control register.

    \return               Floating Point Status/Control register value
 */
static uint32_t __get_FPSCR(void)
{
#if (__FPU_PRESENT == 1)
  __ASM("vmrs r0, fpscr");
#else
  return(0);
#endif
}


/** \brief  Set FPSCR

    This function assigns the given value to the Floating Point Status/Control register.

    \param [in]    fpscr  Floating Point Status/Control value to set
 */
static void __set_FPSCR(uint32_t fpscr)
{
#if (__FPU_PRESENT == 1)
  __ASM("vmsr fpscr, r0");
#endif
}

#endif /* (__CORTEX_M == 0x04) */

#pragma diag_default=Pe940


#elif (defined (__GNUC__)) /*------------------ GNU Compiler ---------------------*/
/* GNU gcc specific functions */

/** \brief  Enable IRQ Interrupts

  This function enables IRQ interrupts by clearing the I-bit in the CPSR.
  Can only be executed in Privileged modes.
 */
__attribute__( ( always_inline ) ) static __INLINE void __enable_irq(void)
{
  __ASM volatile ("cpsie i");
}


/** \brief  Disable IRQ Interrupts

  This function disables IRQ interrupts by setting the I-bit in the CPSR.
  Can only be executed in Privileged modes.
 */
__attribute__( ( always_inline ) ) static __INLINE void __disable_irq(void)
{
  __ASM volatile ("cpsid i");
}


/** \brief  Get Control Register

    This function returns the content of the Control Register.

    \return               Control Register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_CONTROL(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, control" : "=r" (result) );
  return(result);
}


/** \brief  Set Control Register

    This function writes the given value to the Control Register.

    \param [in]    control  Control Register value to set
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_CONTROL(uint32_t control)
{
  __ASM volatile ("MSR control, %0" : : "r" (control) );
}


/** \brief  Get ISPR Register

    This function returns the content of the ISPR Register.

    \return               ISPR Register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_IPSR(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
  return(result);
}


/** \brief  Get APSR Register

    This function returns the content of the APSR Register.

    \return               APSR Register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_APSR(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, apsr" : "=r" (result) );
  return(result);
}


/** \brief  Get xPSR Register

    This function returns the content of the xPSR Register.

    \return               xPSR Register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_xPSR(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
  return(result);
}


/** \brief  Get Process Stack Pointer

    This function returns the current value of the Process Stack Pointer (PSP).

    \return               PSP Register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_PSP(void)
{
  register uint32_t result;

  __ASM volatile ("MRS %0, psp\n"  : "=r" (result) );
  return(result);
}


/** \brief  Set Process Stack Pointer

    This function assigns the given value to the Process Stack Pointer (PSP).

    \param [in]    topOfProcStack  Process Stack Pointer value to set
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_PSP(uint32_t topOfProcStack)
{
  __ASM volatile ("MSR psp, %0\n" : : "r" (topOfProcStack) );
}


/** \brief  Get Main Stack Pointer

    This function returns the current value of the Main Stack Pointer (MSP).

    \return               MSP Register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_MSP(void)
{
  register uint32_t result;

  __ASM volatile ("MRS %0, msp\n" : "=r" (result) );
  return(result);
}


/** \brief  Set Main Stack Pointer

    This function assigns the given value to the Main Stack Pointer (MSP).

    \param [in]    topOfMainStack  Main Stack Pointer value to set
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_MSP(uint32_t topOfMainStack)
{
  __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) );
}


/** \brief  Get Priority Mask

    This function returns the current state of the priority mask bit from the Priority Mask Register.

    \return               Priority Mask value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_PRIMASK(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, primask" : "=r" (result) );
  return(result);
}


/** \brief  Set Priority Mask

    This function assigns the given value to the Priority Mask Register.

    \param [in]    priMask  Priority Mask
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_PRIMASK(uint32_t priMask)
{
  __ASM volatile ("MSR primask, %0" : : "r" (priMask) );
}


#if       (__CORTEX_M >= 0x03)

/** \brief  Enable FIQ

    This function enables FIQ interrupts by clearing the F-bit in the CPSR.
    Can only be executed in Privileged modes.
 */
__attribute__( ( always_inline ) ) static __INLINE void __enable_fault_irq(void)
{
  __ASM volatile ("cpsie f");
}


/** \brief  Disable FIQ

    This function disables FIQ interrupts by setting the F-bit in the CPSR.
    Can only be executed in Privileged modes.
 */
__attribute__( ( always_inline ) ) static __INLINE void __disable_fault_irq(void)
{
  __ASM volatile ("cpsid f");
}


/** \brief  Get Base Priority

    This function returns the current value of the Base Priority register.

    \return               Base Priority register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_BASEPRI(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, basepri_max" : "=r" (result) );
  return(result);
}


/** \brief  Set Base Priority

    This function assigns the given value to the Base Priority register.

    \param [in]    basePri  Base Priority value to set
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_BASEPRI(uint32_t value)
{
  __ASM volatile ("MSR basepri, %0" : : "r" (value) );
}


/** \brief  Get Fault Mask

    This function returns the current value of the Fault Mask register.

    \return               Fault Mask register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_FAULTMASK(void)
{
  uint32_t result;

  __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
  return(result);
}


/** \brief  Set Fault Mask

    This function assigns the given value to the Fault Mask register.

    \param [in]    faultMask  Fault Mask value to set
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_FAULTMASK(uint32_t faultMask)
{
  __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) );
}

#endif /* (__CORTEX_M >= 0x03) */


#if       (__CORTEX_M == 0x04)

/** \brief  Get FPSCR

    This function returns the current value of the Floating Point Status/Control register.

    \return               Floating Point Status/Control register value
 */
__attribute__( ( always_inline ) ) static __INLINE uint32_t __get_FPSCR(void)
{
#if (__FPU_PRESENT == 1)
  uint32_t result;

  __ASM volatile ("MRS %0, fpscr" : "=r" (result) );
  return(result);
#else
   return(0);
#endif
}


/** \brief  Set FPSCR

    This function assigns the given value to the Floating Point Status/Control register.

    \param [in]    fpscr  Floating Point Status/Control value to set
 */
__attribute__( ( always_inline ) ) static __INLINE void __set_FPSCR(uint32_t fpscr)
{
#if (__FPU_PRESENT == 1)
  __ASM volatile ("MSR fpscr, %0" : : "r" (fpscr) );
#endif
}

#endif /* (__CORTEX_M == 0x04) */


#elif (defined (__TASKING__)) /*--------------- TASKING Compiler -----------------*/
/* TASKING carm specific functions */

/*
 * The CMSIS functions have been implemented as intrinsics in the compiler.
 * Please use "carm -?i" to get an up to date list of all instrinsics,
 * Including the CMSIS ones.
 */

#endif

/*@} end of CMSIS_Core_RegAccFunctions */


#endif /* __CORE_CMFUNC_H__ */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女任你摸久久 | 国产成人精品免费在线| 91麻豆精品国产91久久久| 亚洲综合精品自拍| 91丨九色丨黑人外教| 国产精品久久免费看| 国产成人免费视频精品含羞草妖精| 日韩三级视频在线看| 日本中文字幕一区二区视频 | 欧美在线观看视频在线| 欧美国产丝袜视频| www.亚洲国产| 国产精品不卡在线| 91麻豆福利精品推荐| 亚洲色大成网站www久久九九| 波多野结衣中文一区| 亚洲欧洲99久久| 一本色道**综合亚洲精品蜜桃冫| 亚洲女人的天堂| 色一情一伦一子一伦一区| 亚洲精品va在线观看| 欧美亚洲综合久久| 日韩精品高清不卡| 日韩免费一区二区三区在线播放| 蜜臀久久99精品久久久久宅男 | 国产精品久久久久久久午夜片| 成人激情免费电影网址| 国产精品国产三级国产aⅴ入口| eeuss鲁片一区二区三区在线观看| 中文字幕在线一区| 日本国产一区二区| 五月天亚洲婷婷| 日韩一卡二卡三卡| 国产伦理精品不卡| 欧美激情在线一区二区三区| 91视频com| 日日欢夜夜爽一区| 精品国产乱码91久久久久久网站| 国产超碰在线一区| 一区二区三区在线视频观看| 欧美一级一区二区| 国产精品一区二区在线观看网站| 国产精品国产自产拍在线| 在线区一区二视频| 日本不卡中文字幕| 欧美激情中文字幕一区二区| 日本高清成人免费播放| 日本欧美一区二区三区| 久久久精品tv| 在线观看一区二区精品视频| 卡一卡二国产精品| 国产精品天干天干在线综合| 欧美性受xxxx| 精品一区二区三区在线视频| 中文字幕一区二区三区视频| 欧美美女网站色| 国产福利一区二区三区| 亚洲综合自拍偷拍| 精品久久久久久最新网址| 99re热这里只有精品免费视频| 亚洲大尺度视频在线观看| 久久婷婷一区二区三区| 91福利区一区二区三区| 韩国精品一区二区| 亚洲精品视频自拍| 欧美精品一区二| 欧美日韩亚洲丝袜制服| 久久精品国产精品青草| 亚洲欧美另类综合偷拍| 精品福利一区二区三区| 色综合激情久久| 精品一区二区三区久久| 亚洲激情六月丁香| 精品国产欧美一区二区| 欧美制服丝袜第一页| 国产一区二区三区免费看| 亚洲一区二区三区小说| 久久久99精品免费观看| 欧美人狂配大交3d怪物一区| 国产成人免费在线| 麻豆国产精品777777在线| 亚洲天堂网中文字| 亚洲精品在线电影| 欧美日韩一区二区三区高清| 国产91精品一区二区麻豆亚洲| 五月天中文字幕一区二区| 国产精品国产精品国产专区不蜜| 777色狠狠一区二区三区| 91在线高清观看| 国产精品12区| 日韩精品亚洲专区| 亚洲美女屁股眼交3| 久久久精品蜜桃| 日韩欧美中文字幕制服| 91精品福利视频| 成人18视频在线播放| 精品一区二区三区不卡| 天堂精品中文字幕在线| 亚洲男帅同性gay1069| 国产人妖乱国产精品人妖| 日韩一区二区三区精品视频| 91久久久免费一区二区| 成人av电影免费在线播放| 极品美女销魂一区二区三区| 午夜国产不卡在线观看视频| 亚洲欧洲精品一区二区三区 | 亚洲国产精品一区二区www在线| 亚洲欧洲精品一区二区三区不卡| 久久免费的精品国产v∧| 欧美成人伊人久久综合网| 欧美裸体bbwbbwbbw| 欧美少妇性性性| 欧美午夜一区二区| 色综合激情五月| 91免费版pro下载短视频| 成人av资源下载| 成人污污视频在线观看| 国产成人精品1024| 国内精品国产成人| 青青草原综合久久大伊人精品优势| 亚洲一区二区三区在线看| 亚洲视频在线观看一区| 国产精品麻豆视频| 中文字幕av一区二区三区高| 久久久久久一二三区| 2021久久国产精品不只是精品| 日韩欧美中文字幕一区| 欧美一二三四在线| 欧美一区二区美女| 日韩一区二区在线看| 制服.丝袜.亚洲.中文.综合| 717成人午夜免费福利电影| 欧美日韩一区 二区 三区 久久精品| 欧美亚洲综合久久| 欧美日韩一二区| 91麻豆精品国产91久久久久久| 日韩一区二区三区视频在线 | 亚洲人亚洲人成电影网站色| 中文字幕一区二区三区av| 中文字幕一区在线观看| 亚洲婷婷在线视频| 一区二区三区欧美视频| 亚洲国产成人高清精品| 午夜精品久久久久久久99水蜜桃| 午夜a成v人精品| 免费人成精品欧美精品| 国产一区 二区| 成人午夜精品一区二区三区| zzijzzij亚洲日本少妇熟睡| 一本大道久久a久久精品综合| 欧美羞羞免费网站| 日韩三级在线观看| 国产视频在线观看一区二区三区| 中文字幕欧美国产| 亚洲免费电影在线| 午夜精品久久久久| 激情综合一区二区三区| 成人a免费在线看| 欧美自拍偷拍午夜视频| 51久久夜色精品国产麻豆| 欧美成人精品高清在线播放 | 国产亚洲精品超碰| 中文字幕一区二区三| 亚洲电影你懂得| 久久99精品久久久久久| 成人高清免费在线播放| 欧美曰成人黄网| 日韩一区二区三区四区| 中文字幕第一页久久| 亚洲一区中文日韩| 久久国内精品视频| 成人久久18免费网站麻豆| 91搞黄在线观看| 精品福利av导航| ...xxx性欧美| 日本亚洲欧美天堂免费| 国产成人av一区| 欧美三级在线看| 2024国产精品| 亚洲国产精品久久一线不卡| 国产麻豆精品久久一二三| 91传媒视频在线播放| 日韩精品一区二区三区在线观看| 国产精品久久久久影视| 午夜久久电影网| 成人精品国产免费网站| 538在线一区二区精品国产| 国产欧美1区2区3区| 亚洲福利电影网| 国产一区二区福利视频| 欧美日韩中文精品| 国产日韩欧美一区二区三区乱码| 亚洲一二三区在线观看| 国产资源精品在线观看| 在线观看91精品国产入口| 久久午夜老司机| 天天综合色天天综合| www.欧美亚洲| 337p日本欧洲亚洲大胆精品 | 一区二区三区中文在线观看|