summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 89a07939b6..01aaeaccbe 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -24,7 +24,7 @@
24#include "kernel.h" 24#include "kernel.h"
25#include "system.h" 25#include "system.h"
26#include "panic.h" 26#include "panic.h"
27#include "ascodec-target.h" 27#include "ascodec.h"
28#include "adc.h" 28#include "adc.h"
29#include "dma-target.h" 29#include "dma-target.h"
30#include "clock-target.h" 30#include "clock-target.h"
@@ -33,6 +33,20 @@
33#include "backlight-target.h" 33#include "backlight-target.h"
34#include "lcd.h" 34#include "lcd.h"
35 35
36/* Charge Pump and Power management Settings */
37#define AS314_CP_DCDC3_SETTING \
38 ((0<<7) | /* CP_SW Auto-Switch Margin 0=200/300 1=150/255 */ \
39 (0<<6) | /* CP_on 0=Normal op 1=Chg Pump Always On */ \
40 (0<<5) | /* LREG_CPnot Always write 0 */ \
41 (0<<3) | /* DCDC3p BVDD setting 3.6/3.2/3.1/3.0 */ \
42 (1<<2) | /* LREG_off 1=Auto mode switching 0=Length Reg only*/\
43 (0<<0) ) /* CVDDp Core Voltage Setting 1.2/1.15/1.10/1.05*/
44
45#define CVDD_1_20 0
46#define CVDD_1_15 1
47#define CVDD_1_10 2
48#define CVDD_1_05 3
49
36#define default_interrupt(name) \ 50#define default_interrupt(name) \
37 extern __attribute__((weak,alias("UIRQ"))) void name (void) 51 extern __attribute__((weak,alias("UIRQ"))) void name (void)
38 52