Skip to content
Snippets Groups Projects
Commit 461bfe32 authored by schneider's avatar schneider
Browse files

feat(rtc): Enable 32 kHz output

parent d7964b8a
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@
#include "board.h"
#include "tmr_utils.h"
#include "i2c.h"
#include "rtc.h"
/***** Definitions *****/
......@@ -87,6 +88,10 @@ int main(void)
}
}
// Enable 32 kHz output
RTC_SquareWave(MXC_RTC, SQUARE_WAVE_ENABLED, F_32KHZ, NOISE_IMMUNE_MODE, NULL);
while (1) {
LED_On(0);
TMR_Delay(MXC_TMR0, MSEC(500), 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment