Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.3 KiB

  1. //
  2. // MODULE : BOARD.H
  3. // PURPOSE : Board specific code goes here
  4. // AUTHOR : JBS Yadawa
  5. // CREATED : 7/20/96
  6. //
  7. //
  8. // Copyright (C) 1996 SGS-THOMSON Microelectronics
  9. //
  10. //
  11. // REVISION HISTORY :
  12. //
  13. // DATE :
  14. //
  15. // COMMENTS :
  16. //
  17. #ifndef __BOARD_H
  18. #define __BOARD_H
  19. // BOARD.H
  20. #include "stdefs.h"
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. BOOL FARAPI BoardOpen(DWORD lLocalIOBaseAddress);
  25. void FARAPI BoardHardReset(void);
  26. BYTE FARAPI BoardReadAudio(BYTE Register);
  27. BYTE FARAPI BoardReadVideo(BYTE Register);
  28. void FARAPI BoardWriteAudio(BYTE Register, BYTE Value);
  29. void FARAPI BoardWriteVideo(BYTE Register, BYTE Value);
  30. void FARAPI BoardSendAudio(LPBYTE Buffer, WORD Size);
  31. void FARAPI BoardSendVideo(LPWORD Buffer, WORD Size);
  32. void FARAPI BoardAudioSetSamplingFrequency(DWORD Frequency);
  33. void FARAPI BoardVideoSetDisplayMode(BYTE Mode);
  34. void FARAPI BoardEnterInterrupt(void);
  35. void FARAPI BoardLeaveInterrupt(void);
  36. void FARAPI BoardDisableIRQ(void);
  37. void FARAPI BoardEnableIRQ(void);
  38. void FARAPI BoardWriteEPLD(BYTE Reg, BYTE Data);
  39. BOOL FARAPI BoardClose(void);
  40. BOOL FARAPI BoardReadGPIOReg(BYTE Bit);
  41. void FARAPI BoardWriteGPIOReg(BYTE Bit, BOOL Val);
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45. //------------------------------- End of File --------------------------------
  46. #endif // #ifndef __BOARD_H
  47.