12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef _MID_UNT_H_
- #define _MID_UNT_H_
- #ifdef CONFIG_SUPPORT_SSU_ENHANCE_UPGRADE
- #define MAX_SCHEDUL_A_UNT (10)
- typedef enum _SCHEDUL_UNIT_
- {
- SSU_UNT_Second = 0x00, // 00b
- SSU_UNT_Minute = 0x01, // 01b
- SSU_UNT_Hour = 0x02, // 10b
- SSU_UNT_Day = 0x03, // 11b
- }SSU_UNT_SCHEDUL_UNIT;
- typedef struct _UNT_SCHEDUL_T
- {
- UINT16 u16StartMJD;
- UINT32 u32StartUCT;
- UINT16 u16EndMJD;
- UINT32 u32EndUCT;
- UINT8 u8Final_availablility;
- UINT8 u8Periodicity_flag;
- UINT8 u8Period_unit;
- UINT8 u8Duration_unit;
- UINT8 u8Estimated_cycle_time_unit;
- UINT16 u16Period;
- UINT16 u16Duration;
- UINT16 u16Estimated_cycle_time;
- }UNT_SCHEDUL_T;
- typedef enum _SSU_UNT_UPDATE_MODE
- {
- M_IMMEDIATE = 0x00, //manul and immediate
- M_IRD_AVAILABLE,
- M_NEXT_START,
- AUTO_IMMEDIATE = 0x10,
- AUTO_IRD_AVAILABLE,
- AUTO_NEXT_START,
- MAX_UPDATE_MODE = 0xff,
- }SSU_UNT_UPDATE_MODE;
- void MID_SsuUnt_SetTimeZero(void);
- /*we can get the number of Scheduling time*/
- UINT8 MID_SsuUnt_GetNoOfTime(void);
- /*we can get schedul info of SSU's UNT in this API*/
- UINT8 MID_SsuUnt_GetTime(UNT_SCHEDUL_T* pstInfo, int num);
- /*we can get association tag of SSU's UNT in this API*/
- UINT16 MID_SsuUnt_GetAssociation(void);
- #endif
- #endif
|