Aaeon GENE-6315 User Manual page 51

Subcompact board
Table of Contents

Advertisement

S u b C o m p a c t B o a r d
/* Set I/O Address : 370/371 or 3F0/3F1 */
#define IO_INDEX_PORT
#define IO_DATA_PORT
/* Set Watchdog reset pin : 12/13/16 */
#define watch_dog_output_GP 16
#define UNLOCK_DATA
#define LOCK_DATA
#define DEVICE_REGISTER 0x07
void EnterConfigMode()
{
outportb(IO_INDEX_PORT, UNLOCK_DATA);
outportb(IO_INDEX_PORT, UNLOCK_DATA);
}
void ExitConfigMode()
G E N E - 6 3 1 5
0x370
0x371
0x87
0xAA
Appendix A Programming the Watchdog Timer
A-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents