Sfoglia il codice sorgente

Fix Random Number Generator registers (thanks manitou)

fixes 136
main
PaulStoffregen 8 anni fa
parent
commit
663d7eaa7b
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      teensy3/kinetis.h

+ 4
- 4
teensy3/kinetis.h Vedi File

@@ -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…
Annulla
Salva