1 /** 2 ****************************************************************************** 3 * @file rtl8721d_flashclk.h 4 * @author 5 * @version V1.0.0 6 * @date 2016-05-17 7 * @brief This file contains all the functions prototypes for the Flash Clock firmware 8 * library. 9 ****************************************************************************** 10 * @attention 11 * 12 * This module is a confidential and proprietary property of RealTek and 13 * possession or use of this module requires written permission of RealTek. 14 * 15 * Copyright(c) 2016, Realtek Semiconductor Corporation. All rights reserved. 16 ****************************************************************************** 17 */ 18 19 #ifndef _RTL8710B_FLASH_CLK_H 20 #define _RTL8710B_FLASH_CLK_H 21 22 /* Other definations --------------------------------------------------------*/ 23 typedef enum { 24 FlashClass1 = 0, 25 FlashClass2, 26 FlashClass3, 27 FlashClass4, 28 FlashClass5, 29 FlashClass6, 30 FlashClassUser = 0xFE, 31 FlashClassNone = 0xFF, 32 } FlashClass; 33 34 typedef struct { 35 u32 flash_id; 36 u32 id_mask; 37 u8 flash_class; 38 u32 sta_mask; 39 VOID (*FlashInitHandler) (VOID); 40 } FlashInfo_TypeDef; 41 42 typedef struct { 43 u8 phase_int; 44 u8 phase_frac; 45 } FLASH_CLK_Phase; 46 47 typedef struct { 48 u8 div_int; 49 u8 div_frac; 50 } FLASH_CLK_Div; 51 52 extern u8 NEW_CALIBREATION_END[]; 53 #endif //_RTL8710B_FLASH_CLK_H 54 /******************* (C) COPYRIGHT 2016 Realtek Semiconductor *****END OF FILE****/ 55