ISSDK
1.8
IoT Sensing Software Development Kit
boardkit
frdm-k64f
board.c
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015, Freescale Semiconductor, Inc.
3
* Copyright 2016-2017 NXP
4
* All rights reserved.
5
*
6
* SPDX-License-Identifier: BSD-3-Clause
7
*/
8
9
#include <stdint.h>
10
#include "fsl_common.h"
11
#include "fsl_debug_console.h"
12
#include "
board.h
"
13
14
/* Initialize debug console. */
15
void
BOARD_InitDebugConsole
(
void
)
16
{
17
uint32_t uartClkSrcFreq =
BOARD_DEBUG_UART_CLK_FREQ
;
18
DbgConsole_Init(
BOARD_DEBUG_UART_BASEADDR
,
BOARD_DEBUG_UART_BAUDRATE
,
BOARD_DEBUG_UART_TYPE
, uartClkSrcFreq);
19
}
BOARD_DEBUG_UART_CLK_FREQ
#define BOARD_DEBUG_UART_CLK_FREQ
Definition:
board.h:26
BOARD_DEBUG_UART_BAUDRATE
#define BOARD_DEBUG_UART_BAUDRATE
Definition:
board.h:31
BOARD_DEBUG_UART_BASEADDR
#define BOARD_DEBUG_UART_BASEADDR
Definition:
board.h:24
board.h
BOARD_InitDebugConsole
void BOARD_InitDebugConsole(void)
Definition:
board.c:15
BOARD_DEBUG_UART_TYPE
#define BOARD_DEBUG_UART_TYPE
Definition:
board.h:23
© Copyright 2016-2020 NXP. All Rights Reserved.