![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
vr1.1
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of CDMS_RTOS_v1_1 by
all_funcs.h@16:7428828a5da2, 2015-07-17 (annotated)
- Committer:
- cholletisaik777
- Date:
- Fri Jul 17 06:35:40 2015 +0000
- Revision:
- 16:7428828a5da2
- Parent:
- 14:cf9f12b6887d
COM INTEGRATION
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cholletisaik777 | 8:607ae92fa6af | 1 | /*PL functions*/ |
cholletisaik777 | 8:607ae92fa6af | 2 | void FCTN_PL_INIT(); |
cholletisaik777 | 8:607ae92fa6af | 3 | void FCTN_PL_MAIN(); |
cholletisaik777 | 8:607ae92fa6af | 4 | void FCTN_PL_RCV_SC_DATA(); |
cholletisaik777 | 12:cb3ee1ac3638 | 5 | void FCTN_PL_SCIENCE(); |
cholletisaik777 | 8:607ae92fa6af | 6 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 7 | |
cholletisaik777 | 8:607ae92fa6af | 8 | /*ISR functions*/ |
cholletisaik777 | 8:607ae92fa6af | 9 | void ISR_PL_RCV_SC_DATA(); |
cholletisaik777 | 8:607ae92fa6af | 10 | void ISR_CDMS_RLY_TC(); |
cholletisaik777 | 8:607ae92fa6af | 11 | void ISR_CDMS_RLY_TM(); |
cholletisaik777 | 8:607ae92fa6af | 12 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 13 | |
cholletisaik777 | 8:607ae92fa6af | 14 | /*CDMS functions*/ |
cholletisaik777 | 8:607ae92fa6af | 15 | void FCTN_CDMS_INIT(); |
cholletisaik777 | 8:607ae92fa6af | 16 | void FCTN_CDMS_MAIN(); |
cholletisaik777 | 8:607ae92fa6af | 17 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 18 | |
cholletisaik777 | 8:607ae92fa6af | 19 | /*Flash functions*/ |
cholletisaik777 | 11:d6dc9074075b | 20 | uint32_t FCTN_CDMS_RD_FLASH(uint16_t i); |
cholletisaik777 | 11:d6dc9074075b | 21 | void FCTN_CDMS_WR_FLASH(uint16_t i,uint32_t block); |
cholletisaik777 | 8:607ae92fa6af | 22 | void FCTN_CDMS_GET_FLASH_CRC(); |
cholletisaik777 | 8:607ae92fa6af | 23 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 24 | |
cholletisaik777 | 8:607ae92fa6af | 25 | /*RAM functions*/ |
cholletisaik777 | 8:607ae92fa6af | 26 | void FCTN_CDMS_RD_RAM(); |
cholletisaik777 | 8:607ae92fa6af | 27 | void FCTN_CDMS_WR_RAM(); |
cholletisaik777 | 8:607ae92fa6af | 28 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 29 | |
cholletisaik777 | 8:607ae92fa6af | 30 | /*RTC functions*/ |
cholletisaik777 | 8:607ae92fa6af | 31 | void FCTN_INIT_RTC(); |
cholletisaik777 | 14:cf9f12b6887d | 32 | uint64_t FCTN_CDMS_RD_RTC(); |
cholletisaik777 | 8:607ae92fa6af | 33 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 34 | |
cholletisaik777 | 8:607ae92fa6af | 35 | /*I2C functions*/ |
cholletisaik777 | 12:cb3ee1ac3638 | 36 | int FCTN_I2C_READ(char *data,int length = 1); |
cholletisaik777 | 12:cb3ee1ac3638 | 37 | int FCTN_I2C_WRITE(char *data,int length = 1); |
cholletisaik777 | 12:cb3ee1ac3638 | 38 | int FCTN_MASTER_I2C(char i2c_data_type , char* i2c_data); |
cholletisaik777 | 8:607ae92fa6af | 39 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 40 | |
cholletisaik777 | 8:607ae92fa6af | 41 | /*SDCard functions*/ |
cholletisaik777 | 12:cb3ee1ac3638 | 42 | void FCTN_INIT_SD(); |
cholletisaik777 | 8:607ae92fa6af | 43 | int FCTN_WR_SD(const uint8_t *, uint64_t); |
cholletisaik777 | 8:607ae92fa6af | 44 | int FCTN_RD_SD(uint8_t *, uint64_t); |
cholletisaik777 | 8:607ae92fa6af | 45 | void FCTN_CDMS_MNG_SD(); |
cholletisaik777 | 8:607ae92fa6af | 46 | int initialise_card(); |
cholletisaik777 | 8:607ae92fa6af | 47 | int initialise_card_v2(); |
cholletisaik777 | 8:607ae92fa6af | 48 | int disk_initialize(); |
cholletisaik777 | 8:607ae92fa6af | 49 | int cmd(int, int); |
cholletisaik777 | 8:607ae92fa6af | 50 | int cmd58(); |
cholletisaik777 | 8:607ae92fa6af | 51 | int cmdx(int, int); |
cholletisaik777 | 8:607ae92fa6af | 52 | int cmd8(); |
cholletisaik777 | 8:607ae92fa6af | 53 | uint64_t sd_sectors(); |
cholletisaik777 | 8:607ae92fa6af | 54 | int read(uint8_t*, uint32_t ); |
cholletisaik777 | 8:607ae92fa6af | 55 | int write(const uint8_t*, uint32_t ); |
cholletisaik777 | 8:607ae92fa6af | 56 | static uint32_t ext_bits(unsigned char *, int , int ); |
cholletisaik777 | 8:607ae92fa6af | 57 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 58 | |
cholletisaik777 | 8:607ae92fa6af | 59 | /*COM functions*/ |
cholletisaik777 | 8:607ae92fa6af | 60 | void FCTN_COM_INIT(); |
cholletisaik777 | 8:607ae92fa6af | 61 | void FCTN_COM_RCV_TC(); |
cholletisaik777 | 8:607ae92fa6af | 62 | void FCTN_COM_MNGR_TMTC(); |
cholletisaik777 | 8:607ae92fa6af | 63 | void FCTN_COM_SND_TM(); |
cholletisaik777 | 8:607ae92fa6af | 64 | void FCTN_COM_SD_TM(); |
cholletisaik777 | 8:607ae92fa6af | 65 | void FCTN_COM_COMP_SC_DATA(); |
cholletisaik777 | 8:607ae92fa6af | 66 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 67 | |
cholletisaik777 | 8:607ae92fa6af | 68 | /*HK functions*/ |
cholletisaik777 | 8:607ae92fa6af | 69 | void FCTN_CDMS_HK_INIT(); |
cholletisaik777 | 8:607ae92fa6af | 70 | char* FCTN_CDMS_HK_MAIN(); |
cholletisaik777 | 8:607ae92fa6af | 71 | int quantiz(float l_start,float l_step,float l_x); |
cholletisaik777 | 8:607ae92fa6af | 72 | void FCTN_HK_MAIN(); |
cholletisaik777 | 8:607ae92fa6af | 73 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 74 | |
cholletisaik777 | 8:607ae92fa6af | 75 | /*Power functions*/ |
cholletisaik777 | 8:607ae92fa6af | 76 | void FCTN_POWER_MODE(int SOC); |
cholletisaik777 | 8:607ae92fa6af | 77 | void FCTN_CDMS_SWCH_PWR(); |
cholletisaik777 | 8:607ae92fa6af | 78 | void FCTN_CDMS_RST_PWR(); |
cholletisaik777 | 8:607ae92fa6af | 79 | /*End*/ |
cholletisaik777 | 8:607ae92fa6af | 80 | |
cholletisaik777 | 8:607ae92fa6af | 81 | /*TCTM functions*/ |
cholletisaik777 | 8:607ae92fa6af | 82 | void FCTN_CDMS_RLY_TC(); |
cholletisaik777 | 8:607ae92fa6af | 83 | void FCTN_CDMS_RLY_TM(); |
cholletisaik777 | 8:607ae92fa6af | 84 | /*End*/ |