Leaked source code of windows server 2003
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.

46 lines
1.8 KiB

  1. /******************************************************************************
  2. *
  3. * $Workfile: lib65x.h $
  4. *
  5. * $Author: Psmith $
  6. *
  7. * $Revision: 1 $
  8. *
  9. * $Modtime: 6/06/00 16:06 $
  10. *
  11. * Description: Contains function prototypes for 16C65X UART library functions.
  12. *
  13. ******************************************************************************/
  14. #if !defined(_LIB65X_H) /* LIB65X.H */
  15. #define _LIB65X_H
  16. ULSTATUS UL_InitUart_16C65X(PINIT_UART pInitUart, PUART_OBJECT pFirstUart, PUART_OBJECT *ppUart);
  17. void UL_DeInitUart_16C65X(PUART_OBJECT pUart);
  18. void UL_ResetUart_16C65X(PUART_OBJECT pUart);
  19. ULSTATUS UL_VerifyUart_16C65X(PUART_OBJECT pUart);
  20. ULSTATUS UL_SetConfig_16C65X(PUART_OBJECT pUart, PUART_CONFIG pNewUartConfig, DWORD ConfigMask);
  21. ULSTATUS UL_BufferControl_16C65X(PUART_OBJECT pUart, PVOID pBufferControl, int Operation, DWORD Flags);
  22. ULSTATUS UL_ModemControl_16C65X(PUART_OBJECT pUart, PDWORD pModemSignals, int Operation);
  23. DWORD UL_IntsPending_16C65X(PUART_OBJECT *ppUart);
  24. void UL_GetUartInfo_16C65X(PUART_OBJECT pUart, PUART_INFO pUartInfo);
  25. int UL_OutputData_16C65X(PUART_OBJECT pUart);
  26. int UL_InputData_16C65X(PUART_OBJECT pUart, PDWORD pRxStatus);
  27. int UL_ReadData_16C65X(PUART_OBJECT pUart, PBYTE pDest, int Size);
  28. ULSTATUS UL_WriteData_16C65X(PUART_OBJECT pUart, PBYTE pData, int Size);
  29. ULSTATUS UL_ImmediateByte_16C65X(PUART_OBJECT pUart, PBYTE pData, int Operation);
  30. ULSTATUS UL_GetStatus_16C65X(PUART_OBJECT pUart, PDWORD pReturnData, int Operation);
  31. void UL_DumpUartRegs_16C65X(PUART_OBJECT pUart);
  32. #define UL_SetAppBackPtr_16C65X UL_SetAppBackPtr
  33. #define UL_GetAppBackPtr_16C65X UL_GetAppBackPtr
  34. #define UL_GetConfig_16C65X UL_GetConfig
  35. #define UL_GetUartObject_16C65X UL_GetUartObject
  36. #endif /* End of LIB65X.H */