TMPM4G9
V1.0.0.0
|
#include "txz_sample_def.h"
#include "bsp.h"
#include "bsp_led.h"
#include "bsp_timer.h"
#include "ofd.h"
Data Structures | |
struct | instance_t |
Instance Information. More... | |
Macros | |
#define | RSTFLG1_OFD_CLEAR ((uint32_t)0xFFFFFFF7) |
#define | CFG_LED_BLINK_TIME ((uint32_t)(1000)) |
#define | MAIN_NULL ((void *)0) |
#define | OFD_LOWER_COUNT ((uint32_t)0x1CCU) /* 158.4/11*32 = 460.8 : 460 = 0x1CC */ |
#define | OFD_HIGHER_COUNT ((uint32_t)0x23FU) /* 161.6/ 9*32 = 574.58: 575 = 0x23F */ |
#define | OFD_LOWER_COUNT_EXTERNAL ((uint32_t)0x01CU) /* 9.9/11*32 = 28.8 : 28 = 0x01C */ |
#define | OFD_HIGHER_COUNT_EXTERNAL ((uint32_t)0x024U) /* 10.1/ 9*32 = 35.91: 36 = 0x024 */ |
#define | RLMLOSCCR_POSCEN_MASK ((uint8_t)0x10) |
#define | RLMLOSCCR_POSCEN_RW_DISABLE ((uint8_t)0x00) |
#define | RLMLOSCCR_POSCEN_RW_ENABLE ((uint8_t)0x10) |
#define | RLMLOSCCR_POSCF_MASK ((uint8_t)0x20) |
#define | RLMLOSCCR_POSCF_STOP ((uint8_t)0x00) |
#define | RLMLOSCCR_POSCF_RUNNING ((uint8_t)0x20) |
#define | RSTFLG1_OFD_CLEAR ((uint32_t)0xFFFFFFF7) |
Functions | |
int | main (void) |
Main Function. More... | |
void | irq_timer (BSPTimer timer) |
1ms Timer. More... | |