al_aps_table_api.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /******************************************************************************/
  2. /**
  3. *
  4. * @file APSTable_api.h
  5. *
  6. * @brief
  7. *
  8. * @note Copyright (c) 2005 Sunplus Technology Co., Ltd.\n
  9. * All rights reserved.
  10. * @author
  11. ******************************************************************************/
  12. #ifndef __AL_APS_TABLE_API_H_
  13. #define __AL_APS_TABLE_API_H_
  14. #include "al_area_info.h"
  15. typedef struct
  16. {
  17. al_uint16 wVPS;
  18. al_uint16 wCNI1; /* 830 Format1 */
  19. al_uint16 wCNI2; /* 830 Format2 */
  20. } Cni_Data_t;
  21. /******************************************************************************/
  22. /**
  23. * @brief Sorting the channel
  24. *
  25. * @param CountryNumber 0:German 1:UK 2:Austria 3:France 4:Greece \n
  26. * 5:Italy 6:Spain 0xff:others \n
  27. *
  28. * @return AL_SUCCESS on success
  29. * AL_ERR_INVALID_PARAM if any of the parameters is invalid
  30. *
  31. ******************************************************************************/
  32. AL_Return_t AL_APS_SortingByCountry(AL_AreaIndex_en bCountryNumber, al_uint8 u8Lang);
  33. AL_Return_t AL_CNIInit(void);
  34. void AL_GetCNI(Cni_Data_t* pstCniData, al_uint8 bChnNumber, al_uint32 dFreq, al_uint8* pbGetChannelName);
  35. #endif /*__AL_APS_TABLE_API_H_*/