资源简介
压缩包里面有个.exe文件,安装后就可以看到代码了,我已经把安装后的源代码也拷出来,可以直接使用。
代码片段和文件信息
/***********************************************************************
* Filename: ad.c
* Date: 11.04.2007 (creation)
* Revision: S1V1-F
*
* Copyright 2004 Steinbeis GmbH & Co. KG f黵 Technologietransfer
* TransferZentrum Mikroelektronik
*
* Changes:
* SG 20070411 - initial version
*
************************************************************************
*
* Description:
*
* This module provides functions for using the QADC of the MPC5567.
*
***********************************************************************/
/*- SYSTEM INCLUDES- - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*- MODULE INCLUDES- - - - - - - - - - - - - - - - - - - - - - - - - -*/
#include “MPC5567.h“
#include “AD.h“
/*- EXTERNAL FUNCTIONS- - - - - - - - - - - - - - - - - - - - - - - - */
/*- EXTERNAL VARIABLES- - - - - - - - - - - - - - - - - - - - - - - - */
/*- DEFINES- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
/*- TYPEDEFS- - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*- GLOBAL FUNCTIONS- - - - - - - - - - - - - - - - - - - - - - - - - */
/*- GLOBAL VARIABLES- - - - - - - - - - - - - - - - - - - - - - - - - */
uint16_t g_adc_mode;
vuint32_t g_result0;
vuint32_t g_result1;
vuint32_t g_result2;
vuint32_t g_result3;
vuint32_t g_result4;
vuint32_t g_result5;
/*- STATIC FUNCTIONS- - - - - - - - - - - - - - - - - - - - - - - - - */
/*- STATIC VARIABLES- - - - - - - - - - - - - - - - - - - - - - - - - */
/**********************************************************************/
/*- FUNCTION IMPLEMENTATIONS- - - - - - - - - - - - - - - - - - - - - */
/**********************************************************************/
/***********************************************************************
* Name: Init_AD()
* Date: 11.04.2007
*
* Copyright 2004 Steinbeis GmbH & Co. KG f黵 Technologietransfer
* TransferZentrum Mikroelektronik
*
* Changes:
* SG 20070411 - initial version
*
************************************************************************
* Description:
*
* This function initialize the ADC interface.
*
************************************************************************
* Parameters:
*
* int8_t adc
* -> specifies the ADC to initialize
*
* ADC0 = ADC 0
* ADC1 = ADC 1
*
* int8_t adc_clk_ps
* -> specifies the System Clock Prescaler for the selected ADC
*
* SCDF_2 SCDF_4 SCDF_6 SCDF_8 SCDF_10 SCDF_12
* SCDF_14 SCDF_16 SCDF_18 SCDF_20 SCDF_22 SCDF_24
*
* Sysclk (120 Mhz)
* 12 Mhz => -------------------
* SCDF
*
* int8_t adc_emux
* -> specifies if an external multiplexer is used or not
*
* 1 = enable external multiplexer
* 0 = disable external multiplexer (recommended)
*
* int8_t adc_mode
* -> specifies the mode of the ADC
*
* ST_SINGLE_SCAN = Software trigger single scan (recommended)
* LLGET_SINGLE_SCAN = Low level gated external
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 918265 2018-08-21 14:50 Vector\CANape.Simuli
文件 1688 2018-07-10 10:39 Vector\Vector_XCP_Basic\Changes.txt
文件 16668 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\How to make a Seed & Key.DLL for XCP.pdf
文件 438667 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 1- Overview -1.0.pdf
文件 816522 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 2- Protocol la
文件 92984 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 3- Transport la
文件 114674 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 3- Transport la
文件 118236 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 3- Transport la
文件 886008 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 3- Transport la
文件 137077 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 4- Interface Specification -1.0.pdf
文件 149008 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.0\XCP -Part 5- Example Communication Sequences -1.0.pdf
文件 544933 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part1-Overview_V1-1-0.pdf
文件 745962 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part2-Protocol-la
文件 114989 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part3-Transport-la
文件 86913 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part3-Transport-la
文件 195516 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part3-Transport-la
文件 104760 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part3-Transport-la
文件 138580 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part3-Transport-la
文件 137004 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part4-Interface-Specification_V1-1-0.pdf
文件 121185 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\Specification\Version 1.1\ASAM_XCP_Part5-Example-Communication-Sequences_V1-1-0.pdf
文件 138901 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\XCP_Dokumentation\How to integrate a automatic detection of map file names v1.0._EN.pdf
文件 455291 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\XCP_Dokumentation\TechnicalReference XCP Protocol la
文件 112070 2018-07-10 10:39 Vector\Vector_XCP_Basic\Doc\XCP_Dokumentation\XCP_DataSheet_EN.pdf
文件 76272 2018-07-10 10:39 Vector\Vector_XCP_Basic\EULA\eula-de.pdf
文件 73581 2018-07-10 10:39 Vector\Vector_XCP_Basic\EULA\eula-en.pdf
文件 4075 2018-07-10 15:23 Vector\Vector_XCP_Basic\README.TXT
文件 17697 2018-07-10 10:39 Vector\Vector_XCP_Basic\Samples\CAN\CAN MPC55xx\XCPDemo\AD.c
文件 4867 2018-07-10 10:39 Vector\Vector_XCP_Basic\Samples\CAN\CAN MPC55xx\XCPDemo\AD.h
文件 6276 2018-07-10 10:39 Vector\Vector_XCP_Basic\Samples\CAN\CAN MPC55xx\XCPDemo\can.c
文件 6184 2018-07-10 10:39 Vector\Vector_XCP_Basic\Samples\CAN\CAN MPC55xx\XCPDemo\can.h
............此处省略239个文件信息
评论
共有 条评论