Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: FMS_all.h
- Revision:
- 282:74a04dec4b95
- Parent:
- 281:d1c9ae3605a3
--- a/FMS_all.h Wed Jul 27 12:14:58 2016 +0000
+++ b/FMS_all.h Sat Jul 30 15:25:21 2016 +0000
@@ -81,7 +81,6 @@
{
SD_SW_EN_DS = 1;
SD_STATUS = DEVICE_POWERED;
- CDMS_SD_SW_STATUS = DEVICE_POWERED;
FCTN_CDMS_WR_FLASH(2,DEVICE_POWERED);
gPC.printf("sw on sd\n");
}
@@ -90,7 +89,6 @@
{
SD_SW_EN_DS = 0;
SD_STATUS = DEVICE_DISABLED;
- CDMS_SD_SW_STATUS = DEVICE_DISABLED;
FCTN_CDMS_WR_FLASH(2,DEVICE_DISABLED);
gPC.printf("sw off sd\n");
}
@@ -122,7 +120,6 @@
{
BAE_SW_EN_DS = 1;
BAE_STATUS = DEVICE_POWERED;
- BAE_SW_STATUS = DEVICE_POWERED;
FCTN_CDMS_WR_FLASH(1,DEVICE_POWERED);
gPC.printf("sw on bae\n");
}
@@ -131,7 +128,6 @@
{
BAE_SW_EN_DS = 0;
BAE_STATUS = DEVICE_DISABLED;
- BAE_SW_STATUS = DEVICE_DISABLED;
FCTN_CDMS_WR_FLASH(1,DEVICE_DISABLED);
gPC.printf("sw off bae\n");
}
@@ -146,7 +142,6 @@
PYLD_DFF_CLK = 0;
wait_us(1);
PL_STATUS = DEVICE_POWERED;
- PL_BEE_SW_STATUS = DEVICE_POWERED;
FCTN_CDMS_WR_FLASH(3,DEVICE_POWERED);
}
@@ -160,7 +155,6 @@
PYLD_DFF_CLK = 0;
wait_us(1);
PL_STATUS = DEVICE_DISABLED;
- PL_BEE_SW_STATUS = DEVICE_DISABLED;
FCTN_CDMS_WR_FLASH(3,DEVICE_DISABLED);
}
@@ -209,6 +203,8 @@
SD_SW_EN_DS = 0;
wait_ms(10);
SD_SW_EN_DS = 1;
+ SD_STATUS = DEVICE_POWERED;
+ FCTN_CDMS_WR_FLASH(2,DEVICE_POWERED);
gPC.printf("rst sd\n");
}
@@ -217,6 +213,8 @@
BAE_SW_EN_DS = 0;
wait_ms(10);
BAE_SW_EN_DS = 1;
+ BAE_STATUS = DEVICE_POWERED;
+ FCTN_CDMS_WR_FLASH(1,DEVICE_POWERED);
gPC.printf("rst bae\n");
}
@@ -225,6 +223,8 @@
PYLD_DFF = 0;
wait_ms(10);
PYLD_DFF = 1;
+ PL_STATUS = DEVICE_POWERED;
+ FCTN_CDMS_WR_FLASH(3,DEVICE_POWERED);
}
void RST_BAE()
