Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: FMS_all.h
- Revision:
- 230:3d52da8826d3
- Parent:
- 229:42624b9a08b4
diff -r 42624b9a08b4 -r 3d52da8826d3 FMS_all.h --- a/FMS_all.h Tue Jul 05 09:35:50 2016 +0000 +++ b/FMS_all.h Wed Jul 06 07:24:28 2016 +0000 @@ -34,7 +34,7 @@ void RST_HK_COUNTER(); uint8_t CDMS_RD_SD_HK(uint8_t *); -uint8_t CDMS_RD_RTC(uint64_t *); +void CDMS_RD_RTC(uint64_t *); void CDMS_CALIB_RTC(); void CDMS_RESET(); @@ -46,7 +46,7 @@ void P_PL_MAIN() { - FCTN_CDMS_PL_MAIN((void *)NULL); + // FCTN_CDMS_PL_MAIN((void *)NULL); } void P_COM_INIT() @@ -242,12 +242,24 @@ return ACK; } +void CDMS_RD_RTC(uint64_t *time) +{ + *time = FCTN_CDMS_RD_RTC(); +} + +void CDMS_CALIB_RTC() +{ + +} + void CDMS_RESET() { NVIC_SystemReset(); } -void CDMS_INTERNAL_RESET() +/* +//void CDMS_INTERNAL_RESET() { -} \ No newline at end of file +} +*/ \ No newline at end of file