瀏覽代碼

Merge pull request #236 from yoonghm/patch-1

Bit fields for RTC_IER
teensy4-core
Paul Stoffregen 7 年之前
父節點
當前提交
505cf80c62
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. +6
    -0
      teensy3/kinetis.h

+ 6
- 0
teensy3/kinetis.h 查看文件

@@ -3567,6 +3567,12 @@ typedef struct {
#define RTC_SR_TIF ((uint32_t)0x00000001) //
#define RTC_LR (*(volatile uint32_t *)0x4003D018) // RTC Lock Register
#define RTC_IER (*(volatile uint32_t *)0x4003D01C) // RTC Interrupt Enable Register
#define RTC_IER_WPON ((uint32_t)0x00000080) // RTC Wakeup Pin
#define RTC_IER_TSIE ((uint32_t)0x00000010) // RTC Time Seconds Interrupt
#define RTC_IER_MOIE ((uint32_t)0x00000008) // RTC Monotonic Overflow Interrupt
#define RTC_IER_TAIE ((uint32_t)0x00000004) // RTC Time Alarm Interrupt
#define RTC_IER_TOIE ((uint32_t)0x00000002) // RTC Overflow Interrupt
#define RTC_IER_TIIE ((uint32_t)0x00000001) // RTC Time Invalid Interrupt
#define RTC_WAR (*(volatile uint32_t *)0x4003D800) // RTC Write Access Register
#define RTC_RAR (*(volatile uint32_t *)0x4003D804) // RTC Read Access Register


Loading…
取消
儲存