HyperDbg Debugger
|
#include "common.h"
Macros | |
#define | ULCON 0x00 |
#define | UCON 0x04 |
#define | UFCON 0x08 |
#define | UTRSTAT 0x10 |
#define | UERSTAT 0x14 |
#define | UFSTAT 0x18 |
#define | UTXH 0x20 |
#define | URXH 0x24 |
#define | UINTP 0x30 |
#define | UINTM 0x38 |
#define | UFSTAT_TXFE (1 << 24) |
#define | UTRSTAT_RXFE (1 << 0) |
#define | UERSTAT_OE (1 << 0) |
#define | UERSTAT_PE (1 << 1) |
#define | UERSTAT_FE (1 << 2) |
#define | UERSTAT_BE (1 << 3) |
Functions | |
BOOLEAN | Sam5250SetBaud (_Inout_ PCPPORT Port, ULONG Rate) |
BOOLEAN | Sam5250InitializePort (_In_opt_ _Null_terminated_ PCHAR LoadOptions, _Inout_ PCPPORT Port, BOOLEAN MemoryMapped, UCHAR AccessSize, UCHAR BitWidth) |
UART_STATUS | Sam5250GetByte (_Inout_ PCPPORT Port, _Out_ PUCHAR Byte) |
UART_STATUS | Sam5250PutByte (_Inout_ PCPPORT Port, UCHAR Byte, BOOLEAN BusyWait) |
BOOLEAN | Sam5250RxReady (_Inout_ PCPPORT Port) |
Variables | |
UART_HARDWARE_DRIVER | Sam5250HardwareDriver |
#define UCON 0x04 |
#define UERSTAT 0x14 |
#define UERSTAT_BE (1 << 3) |
#define UERSTAT_FE (1 << 2) |
#define UERSTAT_OE (1 << 0) |
#define UERSTAT_PE (1 << 1) |
#define UFCON 0x08 |
#define UFSTAT 0x18 |
#define UFSTAT_TXFE (1 << 24) |
#define UINTM 0x38 |
#define UINTP 0x30 |
#define ULCON 0x00 |
#define URXH 0x24 |
#define UTRSTAT 0x10 |
#define UTRSTAT_RXFE (1 << 0) |
#define UTXH 0x20 |
UART_STATUS Sam5250GetByte | ( | _Inout_ PCPPORT | Port, |
_Out_ PUCHAR | Byte ) |
BOOLEAN Sam5250InitializePort | ( | _In_opt_ _Null_terminated_ PCHAR | LoadOptions, |
_Inout_ PCPPORT | Port, | ||
BOOLEAN | MemoryMapped, | ||
UCHAR | AccessSize, | ||
UCHAR | BitWidth ) |
BOOLEAN Sam5250RxReady | ( | _Inout_ PCPPORT | Port | ) |
UART_HARDWARE_DRIVER Sam5250HardwareDriver |