123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- /******************************************************************************/
- /**
- *
- * @file APSTable.h
- *
- * @brief
- *
- * @note
- *
- * @author
- ******************************************************************************/
- #ifndef __AI_APS_TABLE_H_
- #define __AI_APS_TABLE_H_
- /*******************************************************************************
- * Header include
- ******************************************************************************/
- #include <types.h>
- #include "adb.h"
- #include "al_area_info.h"
- /*******************************************************************************
- * Marco
- ******************************************************************************/
- #define SORT_END_TABLE (0xFFFF)
- #define LINK_ANOTHER_TABLE (0x4000)
- #define ONLY_FIRST_TRANSMISSION (0x2000)
- #define LINKED_TABLE (0x1FFF)
- #define APS_TABLE_LIST (1151)
- /*******************************************************************************
- * typedef
- ******************************************************************************/
- typedef struct
- {
- al_uint8 bAddr;
- al_uint8 bVPS;
- al_uint16 wF1_Data;
- al_uint8 bF2_Country;
- al_uint8 bF2_NetworkId;
- al_uint8 bNameData[DB_ATV_MAX_CHNAME_LEN];
- } AL_APS_Format_t;
- typedef struct
- {
- AL_AreaIndex_en eArea;
- al_uint16* pSortingTable;
- } AL_APS_Sorting_table_t;
- /*******************************************************************************
- * enumeration
- ******************************************************************************/
- typedef enum
- {
- LINK_ARD,
- LINK_CT1,
- LINK_CT2,
- LINK_MTV1,
- LINK_BBC1,
- LINK_BBC2,
- } AL_APS_Link_t;
- /*******************************************************************************
- * Variable
- ******************************************************************************/
- extern const al_uint16* APS_VPSCollections[];
- extern const AL_APS_Sorting_table_t APS_COUNTYTABLE[];
- extern const AL_APS_Format_t APS_ChannelName[APS_TABLE_LIST];
- /*******************************************************************************
- * Program
- ******************************************************************************/
- /******************************************************************************/
- /**
- * @brief AI_APS_GetSortingTable
- * @param
- * @return
- ******************************************************************************/
- AL_Return_t AI_APS_GetSortingTable(AL_AreaIndex_en eArea, al_uint8 u8Lang, al_uint16** pRetSortingTable);
- #endif /* __AI_APS_TABLE_H_ */
|