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

📄 analog devices ad780 - 2_5 v-3_0 v ultrahigh precision bandgap voltage reference.htm

📁 这基准源常用的
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0056)http://www.analog.com/zh/prod/0,,769_838_AD780%2C00.html -->
<!-- Vignette V6 Wed Apr 16 23:04:51 2008 --><HTML><HEAD><TITLE>Analog Devices AD780 - 2.5 V/3.0 V Ultrahigh Precision Bandgap Voltage Reference</TITLE><!--meta http-equiv="Content-Type" content="text/html; charset=utf-8"-->
<META http-equiv=Content-Type content="text/html; charset=utf-8"><!--title>Analog Devices Part Number- AD780 - 2.5 V/3.0 V Ultrahigh Precision Bandgap Voltage Reference</title> -->
<META 
content="AD780 - 2.5 V/3.0 V Ultrahigh Precision Bandgap Voltage Reference" 
name=internalTitle>
<META 
content="AD780 - 2.5 V/3.0 V Ultrahigh Precision Bandgap Voltage Reference" 
name=keywords>
<META 
content="AD780 - 2.5 V/3.0 V Ultrahigh Precision Bandgap Voltage Reference" 
name=description><LINK 
href="Analog Devices AD780 - 2_5 V-3_0 V Ultrahigh Precision Bandgap Voltage Reference.files/adi.css" 
type=text/css rel=stylesheet>
<SCRIPT 
src="Analog Devices AD780 - 2_5 V-3_0 V Ultrahigh Precision Bandgap Voltage Reference.files/functions.js" 
type=text/javascript></SCRIPT>
<!--meta http-equiv="Content-Type" content="text/html; charset=utf-8"-->
<SCRIPT language=JavaScript>
<!-- ################################ BEGIN: Nachalo JScript  ################################

// Implements preview pop-up
function NCH_popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=1000,height=600,left = 0,top = 0');");
}

// Implements example pop-up
function NCH_ExPopUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width=570,height=600,left = 0,top = 0');");
}

// Trims leading and trailing white spaces
function NCH_Trim(str)
{
    return str.replace(/(^\s*)|(\s*$)/g, "");
}


// Left trims the string
function NCH_lTrim(asVal)
{
  return asVal.substr(asVal.search(/[^ ]/i)) ;
}

// Validates string representation of a date
// Acceptable formats: m/d/yyy or mm/dd/yyyy
function NCH_validateDateString(strDate)  {

	strDate = NCH_Trim(strDate);

	// Validate string format
		
	var reDate = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/;
	var y = 3, m = 1, d = 2;
	
	if (!reDate.test(strDate)) return false;  // date has invalid format
	
	var dateParts = reDate.exec(strDate)
	var year  = dateParts[y];
	var month = dateParts[m];
	var day   = dateParts[d];	
		
	return NCH_validateDate(month,day,year);
}

// Validates date 
function NCH_validateDate (strMonth, strDay,  strYear)  {

	function isLeapYear(y) {
		return (y%4!=0) ? false : (y%100!=0) ? true : (y%400!=0) ? false : true;
	}
	
	if ("" == strMonth){
		return false
	}
	if ("" == strDay){
		return false
	}
	if ("" == strYear){
		return false
	}
	
	var year  = parseInt(strYear);
	var month = parseInt(strMonth);
	var day   = parseInt(strDay);
	
	switch (month) {
	case 1 :
	case 3 :
	case 5 :
	case 7 :
	case 8 :
	case 10:
	case 12:
	  if (day > 31) return false;
	  break;
	case 4 :
	case 6 :
	case 9 :
	case 11:
	  if (day > 30) return false;
	  break;
	case 2 :
	  if (day > (isLeapYear(year) ? 29 : 28)) return false;
	  break;
	default:
	  return false;
	}
	
	// Do year range checks: enforces SQL Server 
	// datetime year constraints
  	if (year < 1753 || year > 9999) return false;
	
	return true;
}

// Validates date range for date-range-based searches
function NCH_validateDateRange (form)  {
	var fromDate, toDate;
	
	if (!NCH_validateDate(form.fromMonth.value,form.fromDay.value,form.fromYear.value)){
		alert("Please enter valid from date.");
		return false
	}

	if (!NCH_validateDate(form.toMonth.value,form.toDay.value,form.toYear.value)){
		alert("Please enter valid to date.");
		return false
	}
	
	fromDate = new Date(form.fromYear.value, form.fromMonth.value-1, form.fromDay.value, 0, 0, 0, 0);
	toDate = new Date(form.toYear.value, form.toMonth.value-1, form.toDay.value, 0, 0, 0, 0);
	if (fromDate.getTime() > toDate.getTime()) {
		alert("Invalid date range.");
		return false
	}
		
	return true
}

//Delete confirm alert box
function NCH_confirmDelete() {
	if (confirm("Deleting this content will make it inaccessible permanently. Are you sure you want to delete?"))
		return true;
	else
		return false;
}

//Generic confirm box
function NCH_confirmPopup(strText) {
	if (confirm(strText))
		return true;
	else
		return false;
}

//email validation

function NCH_emailCheck(emailStr, name) {
	/* The following variable tells the rest of the function whether or not
	to verify that the address ends in a two-letter country or well-known
	TLD.  1 means check it, 0 means don't. */
	
	var checkTLD=1;
	
	/* The following is the list of known TLDs that an e-mail address must end with. */
	
	var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
	
	/* The following pattern is used to check if the entered e-mail address
	fits the user@domain format.  It also is used to separate the username
	from the domain. */
	
	var emailPat=/^(.+)@(.+)$/;
	
	/* The following string represents the pattern for matching all special
	characters.  We don't want to allow special characters in the address. 
	These characters include ( ) < > @ , ; : \ " . [ ] */
	
	var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]>";
	
	/* The following string represents the range of characters allowed in a 
	username or domainname.  It really states which chars aren't allowed.*/
	
	var validChars="\[^\\s" + specialChars + "\]";
	
	/* The following pattern applies if the "user" is a quoted string (in
	which case, there are no rules about which characters are allowed
	and which aren't; anything goes).  E.g. "jiminy cricket"@disney.com
	is a legal e-mail address. */
	
	var quotedUser="(\"[^\"]*\")";
	
	/* The following pattern applies for domains that are IP addresses,
	rather than symbolic names.  E.g. joe@[123.124.233.4] is a legal
	e-mail address. NOTE: The square brackets are required. */
	
	var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
	
	/* The following string represents an atom (basically a series of non-special characters.) */
	
	var atom=validChars + '+';
	
	/* The following string represents one word in the typical username.
	For example, in john.doe@somewhere.com, john and doe are words.
	Basically, a word is either an atom or quoted string. */
	
	var word="(" + atom + "|" + quotedUser + ")";
	
	// The following pattern describes the structure of the user
	
	var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
	
	/* The following pattern describes the structure of a normal symbolic
	domain, as opposed to ipDomainPat, shown above. */
	
	var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
	
	/* Finally, let's start trying to figure out if the supplied address is valid. */
	
	/* Begin with the coarse pattern to simply break up user@domain into
	different pieces that are easy to analyze. */
	
	var matchArray=emailStr.match(emailPat);
	
	if (matchArray==null) {
	
	/* Too many/few @'s or something; basically, this address doesn't
	even fit the general mould of a valid e-mail address. */
	alertMsg += name 
	return false;
	}
	
	var user=matchArray[1];
	var domain=matchArray[2];
	
	// Start by checking that only basic ASCII characters are in the strings (0-127).
	
	for (i=0; i < user.length; i++) {
	if (user.charCodeAt(i) > 127) {
	alertMsg += name 
	return false;
	   }
	}
	for (i=0; i < domain.length; i++) {
	if (domain.charCodeAt(i) > 127) {
	alertMsg += name 
	return false;
	   }
	}
	
	// See if "user" is valid 
	
	if (user.match(userPat)==null) {
	
	// user is not valid
	
	alertMsg += name 
	return false;
	}
	
	/* if the e-mail address is at an IP address (as opposed to a symbolic
	host name) make sure the IP address is valid. */
	
	var IPArray=domain.match(ipDomainPat);
	if (IPArray!=null) {
	
	// this is an IP address
	
	for (var i=1;i<=4;i++) {
	if (IPArray[i]>255) {
	alertMsg += name 
	return false;
	   }
	}
	return true;
	}
	
	// Domain is symbolic name.  Check if it's valid.
	 
	var atomPat=new RegExp("^" + atom + "$");

⌨️ 快捷键说明

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