2011-09-06 21:05:41 +02:00
|
|
|
/*
|
|
|
|
%atmel_license%
|
|
|
|
*/
|
2011-05-31 23:09:42 +02:00
|
|
|
|
|
|
|
#ifndef _PMC_
|
|
|
|
#define _PMC_
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------------
|
|
|
|
* Headers
|
|
|
|
*----------------------------------------------------------------------------*/
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------------
|
|
|
|
* Exported functions
|
|
|
|
*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern void PMC_EnablePeripheral( uint32_t dwId ) ;
|
|
|
|
extern void PMC_DisablePeripheral( uint32_t dwId ) ;
|
|
|
|
|
|
|
|
extern uint32_t PMC_IsPeriphEnabled( uint32_t dwId ) ;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* #ifndef _PMC_ */
|
|
|
|
|