mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-28 21:21:32 +00:00
16 lines
493 B
C
16 lines
493 B
C
|
#define PERIPHERAL_BASE 0xFE000000
|
||
|
|
||
|
void uart_init();
|
||
|
void uart_writeText(char *buffer);
|
||
|
void uart_loadOutputFifo();
|
||
|
unsigned char uart_readByte();
|
||
|
unsigned int uart_isReadByteReady();
|
||
|
void uart_writeByteBlockingActual(unsigned char ch);
|
||
|
void uart_update();
|
||
|
void mmio_write(long reg, unsigned int val);
|
||
|
unsigned int mmio_read(long reg);
|
||
|
void gpio_useAsAlt0(unsigned int pin_number);
|
||
|
void gpio_useAsAlt3(unsigned int pin_number);
|
||
|
void uart_hex(unsigned int d);
|
||
|
void uart_byte(unsigned char b);
|