|
TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
|
#include "reg.h"Data Structures | |
| struct | UART_ADDRESS_BLOCK_LSR_reg_t |
| union | UART_ADDRESS_BLOCK_LSR_reg_u |
| struct | RESET_UNIT_UART_CNTL_reg_t |
| union | RESET_UNIT_UART_CNTL_reg_u |
| struct | UART_ADDRESS_BLOCK_LCR_reg_t |
| union | UART_ADDRESS_BLOCK_LCR_reg_u |
| struct | UART_ADDRESS_BLOCK_IIR_reg_t |
| union | UART_ADDRESS_BLOCK_IIR_reg_u |
Macros | |
| #define | UART_ADDRESS_BLOCK_LSR_REG_DEFAULT 0x00000060 |
| #define | RESET_UNIT_UART_CNTL_REG_DEFAULT 0x00000000 |
| #define | UART_ADDRESS_BLOCK_LCR_REG_DEFAULT (0x00000000) |
| #define | UART_ADDRESS_BLOCK_IIR_REG_DEFAULT 0x00000001 |
| #define | UART_ADDRESS_BLOCK_LSR_REG_ADDR 0x80200014 |
| #define | UART_ADDRESS_BLOCK_RBR_REG_ADDR 0x80200000 |
| #define | RESET_UNIT_GPIO4_PAD_RXEN_CNTL_REG_ADDR 0x800305AC |
| #define | RESET_UNIT_GPIO4_PAD_TRIEN_CNTL_REG_ADDR 0x800305A0 |
| #define | UART_ADDRESS_BLOCK_LCR_REG_ADDR 0x8020000C |
| #define | UART_ADDRESS_BLOCK_IER_REG_ADDR 0x80200004 |
| #define | UART_ADDRESS_BLOCK_DLF_REG_ADDR 0x802000C0 |
| #define | UART_ADDRESS_BLOCK_IIR_REG_ADDR 0x80200008 |
| #define | GET_RESET_DW_ADDR(REG_NAME) |
Functions | |
| static void | WaitTxFifoEmpty (void) |
| static void | WaitDataReady (void) |
| void | UartTransmitFrames (uint32_t num_frame, uint8_t *data) |
| uint8_t | UartReceiveFrame (void) |
| void | UartInit (void) |
| #define GET_RESET_DW_ADDR | ( | REG_NAME | ) |
| #define RESET_UNIT_GPIO4_PAD_RXEN_CNTL_REG_ADDR 0x800305AC |
| #define RESET_UNIT_GPIO4_PAD_TRIEN_CNTL_REG_ADDR 0x800305A0 |
| #define RESET_UNIT_UART_CNTL_REG_DEFAULT 0x00000000 |
| #define UART_ADDRESS_BLOCK_DLF_REG_ADDR 0x802000C0 |
| #define UART_ADDRESS_BLOCK_IER_REG_ADDR 0x80200004 |
| #define UART_ADDRESS_BLOCK_IIR_REG_ADDR 0x80200008 |
| #define UART_ADDRESS_BLOCK_IIR_REG_DEFAULT 0x00000001 |
| #define UART_ADDRESS_BLOCK_LCR_REG_ADDR 0x8020000C |
| #define UART_ADDRESS_BLOCK_LCR_REG_DEFAULT (0x00000000) |
| #define UART_ADDRESS_BLOCK_LSR_REG_ADDR 0x80200014 |
| #define UART_ADDRESS_BLOCK_LSR_REG_DEFAULT 0x00000060 |
| #define UART_ADDRESS_BLOCK_RBR_REG_ADDR 0x80200000 |
| void UartInit | ( | void | ) |
| uint8_t UartReceiveFrame | ( | void | ) |
|
static |
|
static |