d21050c1e6
Signed-off-by: Chloe M. <chloe@yiffware.org>
28 lines
479 B
C
28 lines
479 B
C
/*
|
|
* Copyright (c) 2026, Chloe M.
|
|
* Provided under the BSD-3 clause.
|
|
*
|
|
* Description: HAL serial interface
|
|
* Author: Chloe M.
|
|
*/
|
|
|
|
#ifndef _HAL_SERIAL_H_
|
|
#define _HAL_SERIAL_H_ 1
|
|
|
|
#include <ptapi/status.h>
|
|
|
|
/*
|
|
* Initialize the serial driver
|
|
*/
|
|
PT_STATUS HalSerialInit(VOID);
|
|
|
|
/*
|
|
* Transmit data over serial
|
|
*
|
|
* @Data: Data to transmit
|
|
* @Length: Length of data to transmit
|
|
*/
|
|
VOID HalSerialWrite(const CHAR *Data, USIZE Length);
|
|
|
|
#endif /* !_HAL_SERIAL_H_ */
|