⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 landzo

📁 【开源】线性CCD自适应性算法攻略
💻
字号:
/*
 * File:        k60_tower.h
 * Purpose:     Definitions for the Kinetis K60 tower card
 *
 * Notes:
 */

#ifndef __K60_TOWER_H__
#define __K60_TOWER_H__

#include "mcg.h"

/********************************************************************/

/* Global defines to use for all boards */
#define DEBUG_PRINT



/* Defines specific to the K60 tower board */


/* Define for the CPU on the K60 board */
#define CPU_MK60N512VMD100

/*
 * System Bus Clock Info
 */
#define K60_CLK             1
#define REF_CLK             XTAL8   /* value isn't used, but we still need something defined */
#define CORE_CLK_MHZ        PLL96      /* 96MHz is only freq tested for a clock input*/

/*
 * Serial Port Info
 */

/*
 * Select the serial port that is being used below. Only one of the
 * options should be uncommented at any time.
 */
#define SERIAL_CARD     // use this option for serial port on TWR-SER
//#define OSJTAG         // use this option for serial port over the OS-JTAG circuit

#if (defined(SERIAL_CARD))
#define TERM_PORT           UART1_BASE_PTR
#define TERMINAL_BAUD       9600
#undef  HW_FLOW_CONTROL
#elif (defined(OSJTAG))
#define TERM_PORT           UART5_BASE_PTR
#define TERMINAL_BAUD       115200
#undef  HW_FLOW_CONTROL
#else
#error "No valid serial port defined"
#endif


#endif /* __K60_TOWER_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -