arch: add DIDR0 & DIDR1 register defines (ATmega48P) Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
1 files changed, 8 insertions(+), 0 deletions(-) M arch/atmega48p.h
M arch/atmega48p.h +8 -0
@@ 221,7 221,15 @@ struct mmregs_layout { uint8_t adcsrb; uint8_t admux; uint8_t _res14; +#define REG_DIDR0_ADC5D (1 << 5) +#define REG_DIDR0_ADC4D (1 << 4) +#define REG_DIDR0_ADC3D (1 << 3) +#define REG_DIDR0_ADC2D (1 << 2) +#define REG_DIDR0_ADC1D (1 << 1) +#define REG_DIDR0_ADC0D (1 << 0) uint8_t didr0; +#define REG_DIDR1_AIN1D (1 << 1) +#define REG_DIDR1_AIN0D (1 << 0) uint8_t didr1; /* 0x80 */