Ver código fonte

Update kinetis.h

Add CMP2 addresses
teensy4-core
くろねこ 10 anos atrás
pai
commit
3d8d11ea21
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      teensy3/kinetis.h

+ 6
- 0
teensy3/kinetis.h Ver arquivo

@@ -1390,6 +1390,12 @@ enum IRQ_NUMBER_t {
#define CMP1_SCR (*(volatile uint8_t *)0x4007300B) // CMP Status and Control Register
#define CMP1_DACCR (*(volatile uint8_t *)0x4007300C) // DAC Control Register
#define CMP1_MUXCR (*(volatile uint8_t *)0x4007300D) // MUX Control Register
#define CMP2_CR0 (*(volatile uint8_t *)0x40073010) // CMP Control Register 0
#define CMP2_CR1 (*(volatile uint8_t *)0x40073011) // CMP Control Register 1
#define CMP2_FPR (*(volatile uint8_t *)0x40073012) // CMP Filter Period Register
#define CMP2_SCR (*(volatile uint8_t *)0x40073013) // CMP Status and Control Register
#define CMP2_DACCR (*(volatile uint8_t *)0x40073014) // DAC Control Register
#define CMP2_MUXCR (*(volatile uint8_t *)0x40073015) // MUX Control Register

// Chapter 33: Voltage Reference (VREFV1)
#define VREF_TRM (*(volatile uint8_t *)0x40074000) // VREF Trim Register

Carregando…
Cancelar
Salvar