Status Led Sample Code - Aaeon FWB-2250 User Manual

Networking motherboard
Table of Contents

Advertisement

N e t w o r k i n g M o t h e r b o a r d
C.2 Status LED Sample Code
#define LED_BASE_ADDR
// LED Off
VOID LED_OFF()
{
UINT16
TEMP16 = IoIn16(LED_BASE_ADDR) & 0xF7ED;
IoOut16(LED_BASE_ADDR, TEMP16);
}
// Red LED On
VOID RED_LED_ON()
{
UINT16
TEMP16 = IoIn16(LED_BASE_ADDR) & 0xF7ED;
TEMP16 |= 0x0002;
IoOut16(LED_BASE_ADDR, TEMP16);
}
// Red LED Blink
VOID RED_LED_BLINK()
TEMP16;
TEMP16;
Appendix C Standard Firewall Platform Setting
F W B - 2 2 5 0
0x48E
C-3

Advertisement

Table of Contents
loading

Table of Contents