參數(shù)資料
型號: BENCHMARKING
英文描述: Benchmarking the Am186EM: Using the Dhrystone V2.1 As An Example Application Note? 1.66MB (PDF)
中文描述: 基準Am186EM:作為示例應用注意Dhrystone的V2.1版本? 1.66MB(PDF格式)
文件頁數(shù): 10/88頁
文件大?。?/td> 1701K
代理商: BENCHMARKING
10
#define t0cnt 0ff50h // timer 0 count register
#define t1cnt 0ff58h // timer 1 count register
#define t2cnt 0ff60h // timer 2 count register
#define t0mode 0ff56h // timer 0 mode register
#define t1mode 0ff5eh // timer 1 mode register
#define t2mode 0ff66h // timer 2 mode register
#define t0maxa 0ff52h // timer 0 primary maximum count compare register
#define t1maxa 0ff5ah // timer 1 primary maximum count compare register
#define t2maxa 0ff62h // timer 2 primary maximum count compare register
#define t1maxb 0ff54h // timer 1 secondary maximum count compare register
#define t2maxb 0ff5ch // timer 2 secondary maximum count compare register
Programming
Operation of the timer unit is as simple as setting the correct registers. The
code in this section will connect timer 2 to timer 1 which in-turn drives timer 0.
The clock source for timer 2 is the pre-scaled (divide by 4) CPU clock or 10Mhz.
Timer 2 divides this by 65535 and clocks timer 1. Timer 1 divides this by 65535
and clocks timer 0. This long chain allows benchmarks to run for a number of
hours.
This code should be added to, and called by, your benchmark code. It was
coded in assembly language to make sure it was as small and fast as possible.
No call overhead is incurred because the compiler will inline the functions
containing the assembly language. Also, compiler optimizations do not affect
assembly coded routines.
The supplied programs use the 'C' language as the frame work while inserting
assembly code into the program to do the actual work. Most 'C' compilers allow
mixed language but their syntax may differ.
The timer operation code is in a file called timer.c and the header code is in a
file called timer.h.
/*
TIMER.H
Timer counter function prototypes and structure type defs
*/
#ifndef TIMER_H
#define TIMER_H
相關PDF資料
PDF描述
BF-21 High Efficiency 1X/1.5X/2X Charge Pump for White LED Applications
BF-22 Current Limited Load Switch
BF1102R Dual N-channel dual gate MOS-FETs
BF173 ECONOLINE: RJZ & RGZ - 2W Single and Dual Outputs in DIP 14 - 3kVDC and 4kVDC Isolation - Optional Continuous Short Circuit Protected - Custom Solutions Available - UL94V-0 Package Material - Efficiency up to 85%
BF200B TRANSISTOR | BJT | NPN | 20V V(BR)CEO | 20MA I(C) | TO-92
相關代理商/技術參數(shù)
參數(shù)描述
BENCR5P3016B 功能描述:控制開關 ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風格:
BENCR5P3040B 功能描述:控制開關 ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風格:
BEND-M162GT 制造商:PMA 功能描述:M16 STR CONDUIT FITTING
BENELI-81-ALL-ELECTR 制造商:TE Connectivity 功能描述:CS4901-000
BENFREIGHTPROMET!A 制造商:Amphenol Corporation 功能描述: