瀏覽代碼

Bit fields for RTC_IER

Easy field manipulation for RTC_IER register
teensy4-core
YoongHM 7 年之前
父節點
當前提交
94309bc71b
共有 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…
取消
儲存