98 #define OSCFREQ32MHZ 0
102 #define OSCFREQ4MHZ 1
void Clock_Delay(uint32_t cycles) __attribute__((noinline))
Software implementation of a busy-wait delay.
uint32_t Clock_Freq(void)
Returns current clock bus frequency in Hz.
void Clock_Init40MHz(void)
Initialize clock to 40 MHz.
void SysTick_Wait10ms(uint32_t t)
SysTick implementation of a busy-wait delay.
void Clock_Init_HFXT_16MHz(void)
Initialize clock to 16 MHz.
void Clock_Init_HFXT_40_80MHz(int enablePA14)
Initialize clock to 80 MHz.
void Clock_Init(uint32_t freq)
Initialize clock to 4 or 32 MHz.
void SysTick_Wait(uint32_t delay)
SysTick implementation of a busy-wait delay.
void Clock_Delay1ms(uint32_t ms)
Software implementation of a busy-wait delay.
void Clock_Init80MHz(int enablePA14)
Initialize clock to 80 MHz.
void Clock_Init_HFXT_16_80MHz(int enablePA14)
Initialize clock to 80 MHz.
void TimerG8_Init(uint32_t divider, uint32_t prescale)
SysTick for busy-wait delay.
void SysTick_Init(void)
SysTick for busy-wait delay.