欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN2961 参数 Datasheet PDF下载

AN2961图片预览
型号: AN2961
PDF下载: 下载PDF文件 查看货源
内容描述: []
分类和应用:
文件页数/大小: 50 页 / 706 K
品牌: FREESCALE [ Freescale ]
 浏览型号AN2961的Datasheet PDF文件第26页浏览型号AN2961的Datasheet PDF文件第27页浏览型号AN2961的Datasheet PDF文件第28页浏览型号AN2961的Datasheet PDF文件第29页浏览型号AN2961的Datasheet PDF文件第31页浏览型号AN2961的Datasheet PDF文件第32页浏览型号AN2961的Datasheet PDF文件第33页浏览型号AN2961的Datasheet PDF文件第34页  
Echo Driver Configuration  
ECHO_SEB_DDR  
Description: This defines the data direction bit for the I/O pin used to control Echo’s SEB pin.  
Values:  
Any I/O pin configurable as an output can be used. Use the naming convention specified  
in the CodeWarrior header file.  
#define ECHO_SEB_DDR PTEDD_PTEDD0  
Example:  
11.1.2 SPI Setup  
ECHO_SPI_ADDRESS  
Description: This defines the start address of the SPI control registers in the MCU’s memory map.  
Values:  
0x0000–0xFFFF (see MCU data sheet for actual address)  
#define ECHO_SPI_ADDRESS 0x40 /* Location of SPI registers */  
Example:  
ECHO_SPI_CLOCK_SPEED  
Description: Defines the speed of the SPI clock.  
Values:  
0–20000000  
#define ECHO_SPI_CLOCK_SPEED 8000000 /* SPI clock speed 8MHz */  
Example:  
11.1.3 Timer set up  
ECHO_TIMER_ADDRESS  
Description: This defines the address of the timer status and control register in the MCU’s memory map.  
The timers on all HCS08 MCUs have the same layout of control registers. The driver uses  
this base address to access the timer and control registers.  
Values:  
Address in the range 0x0000 – 0xFFFF  
#define ECHO_TIMER_ADDRESS 0x30 /* Location of 1st timer register */  
Example:  
ECHO_TIMER_CHANNEL  
Description: This defines the timer channel used to output the Manchester encoded waveform to Echo.  
Values:  
Channel number in the range 0–15  
#define ECHO_TIMER_CHANNEL 1 /* Define which timer channel to use */  
Example:  
Software Drivers for MC33696, Rev. 1  
30  
Freescale Semiconductor  
 复制成功!