/*! \brief Turn on FIQ */ uint32_t vic_enableFIQ(void) { uint32_t _cpsr; _cpsr = __get_cpsr(); __set_cpsr(_cpsr & FIQ_MASK); return _cpsr; }
/*! \brief Turn OFF FIQ */ uint32_t vic_disableFIQ(void) { uint32_t _cpsr; _cpsr = __get_cpsr(); __set_cpsr(_cpsr | (1<<FIQ_BIT)); return _cpsr; }
unsigned enableFIQ(void) { unsigned _cpsr; _cpsr = __get_cpsr(); __set_cpsr(_cpsr & ~FIQ_MASK); return _cpsr; }
unsigned restoreFIQ(unsigned oldCPSR) { unsigned _cpsr; _cpsr = __get_cpsr(); __set_cpsr((_cpsr & ~FIQ_MASK) | (oldCPSR & FIQ_MASK)); return _cpsr; }
unsigned disableFIQ(void) { unsigned _cpsr; _cpsr = __get_cpsr(); __set_cpsr(_cpsr | FIQ_MASK); return _cpsr; }