Add DAC registers
This commit is contained in:
parent
7e835b4039
commit
d52683fcb4
12
src/ec/it5570e/include/ec/dac.h
Normal file
12
src/ec/it5570e/include/ec/dac.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef _EC_DAC_H
|
||||
#define _EC_DAC_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
volatile uint8_t __xdata __at(0x1A01) DACPDREG;
|
||||
volatile uint8_t __xdata __at(0x1A04) DACDAT2;
|
||||
volatile uint8_t __xdata __at(0x1A05) DACDAT3;
|
||||
volatile uint8_t __xdata __at(0x1A06) DACDAT4;
|
||||
volatile uint8_t __xdata __at(0x1A07) DACDAT5;
|
||||
|
||||
#endif // _EC_DAC_H
|
12
src/ec/it8587e/include/ec/dac.h
Normal file
12
src/ec/it8587e/include/ec/dac.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef _EC_DAC_H
|
||||
#define _EC_DAC_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
volatile uint8_t __xdata __at(0x1A01) DACPDREG;
|
||||
volatile uint8_t __xdata __at(0x1A04) DACDAT2;
|
||||
volatile uint8_t __xdata __at(0x1A05) DACDAT3;
|
||||
volatile uint8_t __xdata __at(0x1A06) DACDAT4;
|
||||
volatile uint8_t __xdata __at(0x1A07) DACDAT5;
|
||||
|
||||
#endif // _EC_DAC_H
|
Loading…
x
Reference in New Issue
Block a user