|
2020-2021 Sunseeker Telemetry and Lighting System
|
Go to the source code of this file.
Macros | |
| #define | INTERVAL_TIME 32768 |
Functions | |
| void | main (void) |
| void | RTC_ISR (void) |
| #define INTERVAL_TIME 32768 |
RTC in Counter Mode toggles LED1 every 1s
This program demonstrates RTC in counter mode configured to source from SMCLK to toggle LED1 every 1s. SMCLK = REFO = ~32kHz
MSP430FR2xx_4xx Board
-----------------
/|\ | |
| | |
---|RST |
| |
| |-->LED1
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 68 of file rtc_ex1_countmode.c.
| void main | ( | void | ) |
Definition at line 70 of file rtc_ex1_countmode.c.
References __no_operation(), and INTERVAL_TIME.
| void RTC_ISR | ( | void | ) |
Definition at line 126 of file rtc_ex1_countmode.c.