*\r
* \return Boolean \c true if the external oscillator was successfully started, \c false if invalid parameters specified.\r
*/\r
- static inline void AVR32CLK_StartExternalOscillator(const uint8_t Channel,\r
- const uint8_t Type,\r
- const uint8_t Startup) ATTR_ALWAYS_INLINE;\r
- static inline void AVR32CLK_StartExternalOscillator(const uint8_t Channel,\r
- const uint8_t Type,\r
- const uint8_t Startup)\r
+ static inline uint8_t AVR32CLK_StartExternalOscillator(const uint8_t Channel,\r
+ const uint8_t Type,\r
+ const uint8_t Startup) ATTR_ALWAYS_INLINE;\r
+ static inline uint8_t AVR32CLK_StartExternalOscillator(const uint8_t Channel,\r
+ const uint8_t Type,\r
+ const uint8_t Startup)\r
{\r
switch (Channel)\r
{\r
\r
/* Private Interface - For use in library only: */\r
#if !defined(__DOXYGEN__)\r
+ /* Type Defines: */\r
+ typedef void (*InterruptHandlerPtr_t)(void);\r
+\r
/* External Variables: */\r
extern const void EVBA_Table;\r
extern const uint32_t Autovector_Table[];\r
*/\r
#define INTC_IRQ_LINE(IRQIndex) (IRQIndex % 32)\r
\r
- /* Type Defines: */\r
- /** Type define for an interrupt handler ISR function. */\r
- typedef void (*InterruptHandlerPtr_t)(void);\r
-\r
/* Function Prototypes: */\r
/** Initializes the interrupt controller, nulling out all interrupt handlers ready for new registration. This\r
* function should be called once on startup to ensure the interrupt controller is ready for use.\r