Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
FMS_all.h@206:fba4aeebf004, 2016-06-30 (annotated)
- Committer:
- chaithanyarss
- Date:
- Thu Jun 30 14:00:33 2016 +0000
- Revision:
- 206:fba4aeebf004
- Child:
- 207:28a07943dded
For integrating PL_Main with rest of CDMS code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chaithanyarss | 206:fba4aeebf004 | 1 | |
chaithanyarss | 206:fba4aeebf004 | 2 | void P_PL_INIT(); |
chaithanyarss | 206:fba4aeebf004 | 3 | void P_PL_MAIN(); |
chaithanyarss | 206:fba4aeebf004 | 4 | void P_COM_INIT(); |
chaithanyarss | 206:fba4aeebf004 | 5 | void P_CDMS_HK_MAIN(); |
chaithanyarss | 206:fba4aeebf004 | 6 | void P_PL_RCV_SC_DATA(); |
chaithanyarss | 206:fba4aeebf004 | 7 | void P_CDMS_INIT_SD(); |
chaithanyarss | 206:fba4aeebf004 | 8 | void CDMS_SD_SW_ON(); |
chaithanyarss | 206:fba4aeebf004 | 9 | void CDMS_SD_SW_OFF(); |
chaithanyarss | 206:fba4aeebf004 | 10 | void SW_ON_BAE(); |
chaithanyarss | 206:fba4aeebf004 | 11 | void SW_OFF_BAE(); |
chaithanyarss | 206:fba4aeebf004 | 12 | void SW_ON_PL_BEE(); |
chaithanyarss | 206:fba4aeebf004 | 13 | void SW_OFF_PL_BEE(); |
chaithanyarss | 206:fba4aeebf004 | 14 | void SW_ON_PL_EPS(); |
chaithanyarss | 206:fba4aeebf004 | 15 | void SW_OFF_PL_EPS(); |
chaithanyarss | 206:fba4aeebf004 | 16 | void SW_ON_V_A_EN(); |
chaithanyarss | 206:fba4aeebf004 | 17 | void SW_OFF_V_A_EN(); |
chaithanyarss | 206:fba4aeebf004 | 18 | void RST_SD(); |
chaithanyarss | 206:fba4aeebf004 | 19 | void RST_BAE(); |
chaithanyarss | 206:fba4aeebf004 | 20 | void RST_PL_BEE(); |
chaithanyarss | 206:fba4aeebf004 | 21 | void RST_HK_COUNTER(); |
chaithanyarss | 206:fba4aeebf004 | 22 | |
chaithanyarss | 206:fba4aeebf004 | 23 | uint8_t P_PL_INIT() |
chaithanyarss | 206:fba4aeebf004 | 24 | { |
chaithanyarss | 206:fba4aeebf004 | 25 | |
chaithanyarss | 206:fba4aeebf004 | 26 | } |
chaithanyarss | 206:fba4aeebf004 | 27 | |
chaithanyarss | 206:fba4aeebf004 | 28 | uint8_t P_PL_MAIN() |
chaithanyarss | 206:fba4aeebf004 | 29 | { |
chaithanyarss | 206:fba4aeebf004 | 30 | |
chaithanyarss | 206:fba4aeebf004 | 31 | } |
chaithanyarss | 206:fba4aeebf004 | 32 | |
chaithanyarss | 206:fba4aeebf004 | 33 | uint8_t P_COM_INIT() |
chaithanyarss | 206:fba4aeebf004 | 34 | { |
chaithanyarss | 206:fba4aeebf004 | 35 | |
chaithanyarss | 206:fba4aeebf004 | 36 | } |
chaithanyarss | 206:fba4aeebf004 | 37 | |
chaithanyarss | 206:fba4aeebf004 | 38 | uint8_t P_CDMS_HK_MAIN() |
chaithanyarss | 206:fba4aeebf004 | 39 | { |
chaithanyarss | 206:fba4aeebf004 | 40 | FCTN_CDMS_HK_MAIN(); |
chaithanyarss | 206:fba4aeebf004 | 41 | } |
chaithanyarss | 206:fba4aeebf004 | 42 | |
chaithanyarss | 206:fba4aeebf004 | 43 | uint8_t P_PL_RCV_SC_DATA() |
chaithanyarss | 206:fba4aeebf004 | 44 | { |
chaithanyarss | 206:fba4aeebf004 | 45 | |
chaithanyarss | 206:fba4aeebf004 | 46 | } |
chaithanyarss | 206:fba4aeebf004 | 47 | |
chaithanyarss | 206:fba4aeebf004 | 48 | uint8_t P_CDMS_INIT_SD() |
chaithanyarss | 206:fba4aeebf004 | 49 | { |
chaithanyarss | 206:fba4aeebf004 | 50 | FCTN_CDMS_SD_INIT(); |
chaithanyarss | 206:fba4aeebf004 | 51 | } |
chaithanyarss | 206:fba4aeebf004 | 52 | |
chaithanyarss | 206:fba4aeebf004 | 53 | void CDMS_SD_SW_ON() |
chaithanyarss | 206:fba4aeebf004 | 54 | { |
chaithanyarss | 206:fba4aeebf004 | 55 | SD_SW_EN_DS = 0; //powering on SD |
chaithanyarss | 206:fba4aeebf004 | 56 | } |
chaithanyarss | 206:fba4aeebf004 | 57 | |
chaithanyarss | 206:fba4aeebf004 | 58 | void CDMS_SD_SW_OFF() |
chaithanyarss | 206:fba4aeebf004 | 59 | { |
chaithanyarss | 206:fba4aeebf004 | 60 | SD_SW_EN_DS = 0; //powering on SD |
chaithanyarss | 206:fba4aeebf004 | 61 | } |
chaithanyarss | 206:fba4aeebf004 | 62 | |
chaithanyarss | 206:fba4aeebf004 | 63 | void SW_ON_BAE() |
chaithanyarss | 206:fba4aeebf004 | 64 | { |
chaithanyarss | 206:fba4aeebf004 | 65 | |
chaithanyarss | 206:fba4aeebf004 | 66 | } |
chaithanyarss | 206:fba4aeebf004 | 67 | |
chaithanyarss | 206:fba4aeebf004 | 68 | void SW_OFF_BAE() |
chaithanyarss | 206:fba4aeebf004 | 69 | { |
chaithanyarss | 206:fba4aeebf004 | 70 | |
chaithanyarss | 206:fba4aeebf004 | 71 | } |
chaithanyarss | 206:fba4aeebf004 | 72 | |
chaithanyarss | 206:fba4aeebf004 | 73 | void SW_ON_PL_BEE() |
chaithanyarss | 206:fba4aeebf004 | 74 | { |
chaithanyarss | 206:fba4aeebf004 | 75 | |
chaithanyarss | 206:fba4aeebf004 | 76 | } |
chaithanyarss | 206:fba4aeebf004 | 77 | |
chaithanyarss | 206:fba4aeebf004 | 78 | void SW_OFF_PL_BEE() |
chaithanyarss | 206:fba4aeebf004 | 79 | { |
chaithanyarss | 206:fba4aeebf004 | 80 | |
chaithanyarss | 206:fba4aeebf004 | 81 | } |
chaithanyarss | 206:fba4aeebf004 | 82 | |
chaithanyarss | 206:fba4aeebf004 | 83 | void SW_ON_PL_EPS() |
chaithanyarss | 206:fba4aeebf004 | 84 | { |
chaithanyarss | 206:fba4aeebf004 | 85 | |
chaithanyarss | 206:fba4aeebf004 | 86 | } |
chaithanyarss | 206:fba4aeebf004 | 87 | |
chaithanyarss | 206:fba4aeebf004 | 88 | void SW_OFF_PL_EPS() |
chaithanyarss | 206:fba4aeebf004 | 89 | { |
chaithanyarss | 206:fba4aeebf004 | 90 | |
chaithanyarss | 206:fba4aeebf004 | 91 | } |
chaithanyarss | 206:fba4aeebf004 | 92 | |
chaithanyarss | 206:fba4aeebf004 | 93 | void SW_ON_V_A_EN() |
chaithanyarss | 206:fba4aeebf004 | 94 | { |
chaithanyarss | 206:fba4aeebf004 | 95 | |
chaithanyarss | 206:fba4aeebf004 | 96 | } |
chaithanyarss | 206:fba4aeebf004 | 97 | |
chaithanyarss | 206:fba4aeebf004 | 98 | void SW_OFF_V_A_EN() |
chaithanyarss | 206:fba4aeebf004 | 99 | { |
chaithanyarss | 206:fba4aeebf004 | 100 | |
chaithanyarss | 206:fba4aeebf004 | 101 | } |
chaithanyarss | 206:fba4aeebf004 | 102 | |
chaithanyarss | 206:fba4aeebf004 | 103 | void RST_SD() |
chaithanyarss | 206:fba4aeebf004 | 104 | { |
chaithanyarss | 206:fba4aeebf004 | 105 | |
chaithanyarss | 206:fba4aeebf004 | 106 | } |
chaithanyarss | 206:fba4aeebf004 | 107 | |
chaithanyarss | 206:fba4aeebf004 | 108 | void RST_BAE() |
chaithanyarss | 206:fba4aeebf004 | 109 | { |
chaithanyarss | 206:fba4aeebf004 | 110 | |
chaithanyarss | 206:fba4aeebf004 | 111 | } |
chaithanyarss | 206:fba4aeebf004 | 112 | |
chaithanyarss | 206:fba4aeebf004 | 113 | void RST_PL_BEE() |
chaithanyarss | 206:fba4aeebf004 | 114 | { |
chaithanyarss | 206:fba4aeebf004 | 115 | |
chaithanyarss | 206:fba4aeebf004 | 116 | } |
chaithanyarss | 206:fba4aeebf004 | 117 | |
chaithanyarss | 206:fba4aeebf004 | 118 | void RST_HK_COUNTER() |
chaithanyarss | 206:fba4aeebf004 | 119 | { |
chaithanyarss | 206:fba4aeebf004 | 120 | |
chaithanyarss | 206:fba4aeebf004 | 121 | } |