參數(shù)資料
型號: BENCHMARKING
英文描述: Benchmarking the Am186EM: Using the Dhrystone V2.1 As An Example Application Note? 1.66MB (PDF)
中文描述: 基準(zhǔn)Am186EM:作為示例應(yīng)用注意Dhrystone的V2.1版本? 1.66MB(PDF格式)
文件頁數(shù): 11/88頁
文件大小: 1701K
代理商: BENCHMARKING
11
// definitions
#define MAXCNT1A 0xFFFF //maximum count for register a of timer 1
#define MAXCNT1B 0xFFFF
#define MAXCNT0A 0xFFFF
#define MAXCNT0B 0xFFFF
#define MAXCNT2A 0xFFFF
// type definitions
typedef struct {
unsigned int t2; //fastest changing count
unsigned int t1;
unsigned int t0; //slowest count
} T_Time;
// function prototypes
void timer_init(void);
void timer_start(void);
void timer_stop(void);
void read_time(T_Time *);
float elapsed_time(float cpu_clock,T_Time * end);
#endif //TIMER_H
/*
Timer.c
Timer functions for benchmarking
*/
#pragma inline
#include "asmrules.h"
#include "am186em.h"
#include "timer.h"
#define TIMER_C
/*
initialize the timers
*/
void timer_init(void){
asm mov dx,T2MODE //point to mode register
asm mov ax,0100000000000001b //prescale mode CPU/4 as input
asm out dx,ax
asm mov dx,T1MODE //point to mode register
asm mov ax,1100000000001001b //t2 internal select as source (tie input pin low)
asm out dx,ax
相關(guān)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
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
BENCR5P3016B 功能描述:控制開關(guān) ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風(fēng)格:
BENCR5P3040B 功能描述:控制開關(guān) ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風(fēng)格:
BEND-M162GT 制造商:PMA 功能描述:M16 STR CONDUIT FITTING
BENELI-81-ALL-ELECTR 制造商:TE Connectivity 功能描述:CS4901-000
BENFREIGHTPROMET!A 制造商:Amphenol Corporation 功能描述: