blob: 45da0080d138e361532eabc8152b286c11597393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef __PPE_TIMEBASE_H__
#define __PPE_TIMEBASE_H__
//-----------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2015
// *! All Rights Reserved -- Property of IBM
// *! *** IBM Confidential ***
//-----------------------------------------------------------------------------
/// \file ppe_timebase.h
/// \brief support for using the OCB 32 bit timebase register
///
#include "pk.h"
//The timebase register will never be supported in the base ppe model
#ifdef APPCFG_USE_EXT_TIMEBASE
#error "External timebase is not supported on the PPE standalone model"
#endif /* APPCFG_USE_EXT_TIMEBASE */
#ifndef __ASSEMBLER__
//assembly function is defined in ppe42_timebase.S
uint32_t pk_timebase32_get(void);
#endif /* __ASSEMBLER__ */
#endif /* __PPE_TIMEBASE_H__ */
|