Add PCD setting for Timer, default is 10 times a second. You need the timer to detect...
[mirror_edk2.git] / Omap35xxPkg / Include / Library / OmapLib.h
CommitLineData
a3f98646 1/** @file
2
7f814ffd 3 Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
a3f98646 4
3d70643b 5 This program and the accompanying materials
a3f98646 6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef __OMAPLIB_H__
16#define __OMAPLIB_H__
17
18UINT32
7f814ffd 19EFIAPI
a3f98646 20GpioBase (
21 IN UINTN Port
22 );
23
24UINT32
7f814ffd 25EFIAPI
a3f98646 26TimerBase (
27 IN UINTN Timer
28 );
29
30UINTN
7f814ffd 31EFIAPI
a3f98646 32InterruptVectorForTimer (
33 IN UINTN TImer
34 );
35
36UINT32
7f814ffd 37EFIAPI
a3f98646 38UartBase (
39 IN UINTN Uart
40 );
41
7f814ffd 42
a3f98646 43#endif // __OMAPLIB_H__
44