HyperDbg Debugger
|
#include "common.h"
Macros | |
#define | AUX_MU_IO_REG 0x40 |
#define | AUX_MU_IER_REG 0x44 |
#define | AUX_MU_LCR_REG 0x4C |
#define | AUX_MU_STAT_REG 0x64 |
#define | AUX_MU_IER_TXE 0x00000001 |
#define | AUX_MU_IER_RXNE 0x00000002 |
#define | AUX_MU_LCR_8BIT 0x00000003 |
#define | AUX_MU_STAT_RXNE 0x00000001 |
#define | AUX_MU_STAT_TXNF 0x00000002 |
Functions | |
BOOLEAN | Bcm2835RxReady (_Inout_ PCPPORT Port) |
BOOLEAN | Bcm2835InitializePort (_In_opt_ _Null_terminated_ PCHAR LoadOptions, _Inout_ PCPPORT Port, BOOLEAN MemoryMapped, UCHAR AccessSize, UCHAR BitWidth) |
BOOLEAN | Bcm2835SetBaud (_Inout_ PCPPORT Port, ULONG Rate) |
UART_STATUS | Bcm2835GetByte (_Inout_ PCPPORT Port, _Out_ PUCHAR Byte) |
UART_STATUS | Bcm2835PutByte (_Inout_ PCPPORT Port, UCHAR Byte, BOOLEAN BusyWait) |
Variables | |
UART_HARDWARE_DRIVER | Bcm2835HardwareDriver |
#define AUX_MU_IER_REG 0x44 |
#define AUX_MU_IER_RXNE 0x00000002 |
#define AUX_MU_IER_TXE 0x00000001 |
#define AUX_MU_IO_REG 0x40 |
#define AUX_MU_LCR_8BIT 0x00000003 |
#define AUX_MU_LCR_REG 0x4C |
#define AUX_MU_STAT_REG 0x64 |
#define AUX_MU_STAT_RXNE 0x00000001 |
#define AUX_MU_STAT_TXNF 0x00000002 |
UART_STATUS Bcm2835GetByte | ( | _Inout_ PCPPORT | Port, |
_Out_ PUCHAR | Byte ) |
BOOLEAN Bcm2835InitializePort | ( | _In_opt_ _Null_terminated_ PCHAR | LoadOptions, |
_Inout_ PCPPORT | Port, | ||
BOOLEAN | MemoryMapped, | ||
UCHAR | AccessSize, | ||
UCHAR | BitWidth ) |
BOOLEAN Bcm2835RxReady | ( | _Inout_ PCPPORT | Port | ) |
UART_HARDWARE_DRIVER Bcm2835HardwareDriver |