FreeCalypso > hg > fc-magnetite
comparison src/cs/drivers/drv_app/fchg/fchg_env.h @ 334:d583a1f5bd6a
FCHG: charger plug and unplug functions implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 Dec 2017 19:54:18 +0000 |
parents | c4077830aeeb |
children |
comparison
equal
deleted
inserted
replaced
333:8a90038c0173 | 334:d583a1f5bd6a |
---|---|
7 | 7 |
8 #include "rvm/rvm_gen.h" | 8 #include "rvm/rvm_gen.h" |
9 #include "fchg/fchg_struct.h" | 9 #include "fchg/fchg_struct.h" |
10 #include "fchg/fchg_pool_size.h" | 10 #include "fchg/fchg_pool_size.h" |
11 | 11 |
12 #define FCHG_MAILBOX_USED RVF_TASK_MBOX_1 | 12 #define FCHG_MAILBOX RVF_TASK_MBOX_0 |
13 #define FCHG_TIMER RVF_TIMER_0 | |
13 | 14 |
14 /* memory bank size and watermark */ | 15 /* memory bank size and watermark */ |
15 #define FCHG_MB_PRIM_SIZE FCHG_MB1_SIZE | 16 #define FCHG_MB_PRIM_SIZE FCHG_MB1_SIZE |
16 #define FCHG_MB_PRIM_WATERMARK (FCHG_MB_PRIM_SIZE) | 17 #define FCHG_MB_PRIM_WATERMARK (FCHG_MB_PRIM_SIZE) |
17 | 18 |