You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/**********************************************************************//**
|
|
Filename: hal_board.h
|
|
|
|
Copyright 2010 Texas Instruments, Inc.
|
|
***************************************************************************/
|
|
#ifndef HAL_BOARD_H
|
|
#define HAL_BOARD_H
|
|
|
|
#define LED_PORT_DIR P1DIR
|
|
#define LED_PORT_OUT P1OUT
|
|
#define LED_1 BIT0
|
|
#define LED_2 BIT1
|
|
|
|
#define CLK_PORT_DIR P11DIR //outputs clocks to testpoints
|
|
#define CLK_PORT_OUT P11OUT
|
|
#define CLK_PORT_SEL P11SEL
|
|
|
|
/*----------------------------------------------------------------
|
|
* Function Prototypes
|
|
*----------------------------------------------------------------
|
|
*/
|
|
static void halBoardGetSystemClockSettings(unsigned char systemClockSpeed,
|
|
unsigned char *setDcoRange,
|
|
unsigned char *setVCore,
|
|
unsigned int *setMultiplier);
|
|
|
|
extern void halBoardOutputSystemClock(void);
|
|
extern void halBoardStopOutputSystemClock(void);
|
|
extern void halBoardInit(void);
|
|
void hal430SetSystemClock(unsigned long req_clock_rate, unsigned long ref_clock_rate);
|
|
|
|
#endif /* HAL_BOARD_H */
|