Add ECPM definitions
This commit is contained in:
parent
9992828bde
commit
c58c5f06d4
15
src/ec/it5570e/include/ec/ecpm.h
Normal file
15
src/ec/it5570e/include/ec/ecpm.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef _EC_ECPM_H
|
||||
#define _EC_ECPM_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
volatile uint8_t __xdata __at(0x1E01) CGCTRL1;
|
||||
volatile uint8_t __xdata __at(0x1E02) CGCTRL2;
|
||||
volatile uint8_t __xdata __at(0x1E03) PLLCTRL;
|
||||
volatile uint8_t __xdata __at(0x1E04) AUTOCG;
|
||||
volatile uint8_t __xdata __at(0x1E05) CGCTRL3;
|
||||
volatile uint8_t __xdata __at(0x1E06) PLLFREQ;
|
||||
volatile uint8_t __xdata __at(0x1E08) PLLCSS;
|
||||
volatile uint8_t __xdata __at(0x1E09) CGCTRL4;
|
||||
|
||||
#endif // _EC_ECPM_H
|
15
src/ec/it8587e/include/ec/ecpm.h
Normal file
15
src/ec/it8587e/include/ec/ecpm.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef _EC_ECPM_H
|
||||
#define _EC_ECPM_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
volatile uint8_t __xdata __at(0x1E01) CGCTRL1;
|
||||
volatile uint8_t __xdata __at(0x1E02) CGCTRL2;
|
||||
volatile uint8_t __xdata __at(0x1E03) PLLCTRL;
|
||||
volatile uint8_t __xdata __at(0x1E04) AUTOCG;
|
||||
volatile uint8_t __xdata __at(0x1E05) CGCTRL3;
|
||||
volatile uint8_t __xdata __at(0x1E06) PLLFREQ;
|
||||
volatile uint8_t __xdata __at(0x1E08) PLLCSS;
|
||||
volatile uint8_t __xdata __at(0x1E09) CGCTRL4;
|
||||
|
||||
#endif // _EC_ECPM_H
|
Loading…
x
Reference in New Issue
Block a user