Watchdog Timer
65
outportb(0xeb,00); //io delay
outportb(config_port_index,0x08);
}
/************************************/
unsigned char read_config_data_byte(unsigned char
_index)
{
unsigned char r_data;
outportb(config_port_index,_index);
outportb(0xeb,00); //io delay
r_data=inportb(config_port_data);
return(r_data);
}
/************************************/
void write_config_data_byte(unsigned char
_index,unsigned char _data)
{
outportb(config_port_index,_index);
outportb(0xeb,00); //io delay
outportb(config_port_data,_data);
}
/************************************/
void write_preload_val2_reg(unsigned long int
_time_out_val)
{
unsigned char *p_data;
//
"unsigned char" declaration --> + =
addr. BYTE increased.
p_data=&_time_out_val;
//
printf("%x\n",*p_data);
unlocking_reg();
outportb(wdt_4,*p_data);
+;
//
printf("%x\n",*p_data);
Summary of Contents for cPCI-3920 Series
Page 8: ...iv Table of Contents This page intentionally left blank ...
Page 16: ...6 Overview This page intentionally left blank ...
Page 25: ...Specifications 15 cPCI R3920 cPCI R3920T Figure 2 2 cPCI R3920 Mechanical Dimensions ...
Page 63: ...Functional Description 53 CompactPCI Connector rJ2 ...
Page 70: ...60 Driver Installation This page intentionally left blank ...
Page 102: ...92 BIOS Setup Utility This page intentionally left blank ...