]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - src/hw/plls/pllapi.h
Bug fix for automatic file format detection
[keystone-rtos/ibl.git] / src / hw / plls / pllapi.h
1 #ifndef _PLLAPI_H
2 #define _PLLAPI_H
3 /*************************************************************************************
4  * FILE PURPOSE: Define the public pll api
5  *************************************************************************************
6  * FILE NAME: pllapi.h
7  *
8  * DESCRIPTION: Defines the public api for the pll driver
9  *
10  * @file  pllapi.h
11  *
12  * @brief
13  *    This file defines the API used by all PLL drivers
14  *
15  *************************************************************************************/
16 #include "types.h"
18 /* Prototypes */
19 uint16 hwPllResetType (uint32 pllNum);
20 int16 hwPllSetPll (uint32 pllNum, uint32 prediv, uint32 mult, uint32 postdiv);
21 int16 hwPllDisable (uint32 pllNum);
22 int16 hwPllEnable (uint32 pllNum);
25 /**
26  * @def pll_POR_RESET
27  */
28 #define pll_POR_RESET   500     /**< last reset was a power on reset */
30 /**
31  * @def pll_WARM_RESET
32  */
33 #define pll_WARM_RESET  501     /**< last reset was a warm reset */
37 #endif /* _PLLAPI_H */