Пример #1
0
/**
* @brief Get the software interrupt priority bits (I1, I0) value from CPU CC register.
* @par Parameters:
* None
* @retval u8 The software interrupt priority bits value.
  */
u8 ITC_GetSoftIntStatus(void)
{
    return (u8)(ITC_GetCPUCC() & CPU_CC_I1I0);
}
Пример #2
0
/**
  * @brief Get the software interrupt priority bits (I1, I0) value from CPU CC register.
  * @par Parameters:
  * None
  * @retval uint8_t : The software interrupt priority bits value.
  */
uint8_t ITC_GetSoftIntStatus(void)
{
    return ((uint8_t)(ITC_GetCPUCC() & CPU_SOFT_INT_DISABLED));
}
Пример #3
0
/**
  * @brief  Gets the interrupt software priority bits (I1, I0) value from CPU CC register.
  * @param  None
  * @retval The interrupt software priority bits value.
  */
uint8_t ITC_GetSoftIntStatus(void)
{
    return (uint8_t)(ITC_GetCPUCC() & CPU_CC_I1I0);
}