瀏覽代碼

Fix Random Number Generator registers (thanks manitou)

fixes 136
main
PaulStoffregen 8 年之前
父節點
當前提交
663d7eaa7b
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      teensy3/kinetis.h

+ 4
- 4
teensy3/kinetis.h 查看文件

@@ -2620,10 +2620,10 @@ typedef struct {

// Random Number Generator Accelerator (RNGA)

#define RNG_CR (*(volatile uint32_t *)0x400A0000) // RNGA Control Register
#define RNG_SR (*(volatile uint32_t *)0x400A0004) // RNGA Status Register
#define RNG_ER (*(volatile uint32_t *)0x400A0008) // RNGA Entropy Register
#define RNG_OR (*(volatile uint32_t *)0x400A000C) // RNGA Output Register
#define RNG_CR (*(volatile uint32_t *)0x40029000) // RNGA Control Register
#define RNG_SR (*(volatile uint32_t *)0x40029004) // RNGA Status Register
#define RNG_ER (*(volatile uint32_t *)0x40029008) // RNGA Entropy Register
#define RNG_OR (*(volatile uint32_t *)0x4002900C) // RNGA Output Register

// Analog-to-Digital Converter (ADC)


Loading…
取消
儲存