#include <stdbool.h>
#include <string.h>
#include "stm32h747i_discovery.h"
#include "pv_stm32h747.h"
Go to the source code of this file.
Macros | |
#define | PV_COM (USART1) |
#define | PV_COM_ALT (GPIO_AF7_USART1) |
#define | PV_COM_IRQn (USART1_IRQn) |
#define | PV_COM_RX_GPIO_Port (GPIOA) |
#define | PV_COM_RX_Pin (GPIO_PIN_9) |
#define | PV_COM_TX_GPIO_Port (GPIOA) |
#define | PV_COM_TX_Pin (GPIO_PIN_10) |
#define | SDRAM_DEVICE_ADDR 0xD0000000U |
#define | UUID_ADDRESS (0x1FF1E800) |
#define | UUID_SIZE (12) |
Functions | |
int | __io_putchar (int ch) |
void | assert_failed (uint8_t *file, uint32_t line) |
static void | CPU_CACHE_Enable (void) |
static void | MPU_Config (void) |
void | pv_board_deinit () |
pv_status_t | pv_board_init () |
static pv_status_t | pv_clock_config (void) |
void | pv_error_handler (void) |
const uint8_t * | pv_get_uuid (void) |
const uint32_t | pv_get_uuid_size (void) |
pv_status_t | pv_message_init (void) |
static pv_status_t | pv_uart_init (void) |
Variables | |
UART_HandleTypeDef | huart |
static uint8_t | uuid [UUID_SIZE] |
#define PV_COM (USART1) |
Definition at line 22 of file pv_stm32h747.c.
#define PV_COM_ALT (GPIO_AF7_USART1) |
Definition at line 23 of file pv_stm32h747.c.
#define PV_COM_IRQn (USART1_IRQn) |
Definition at line 24 of file pv_stm32h747.c.
#define PV_COM_RX_GPIO_Port (GPIOA) |
Definition at line 28 of file pv_stm32h747.c.
#define PV_COM_RX_Pin (GPIO_PIN_9) |
Definition at line 27 of file pv_stm32h747.c.
#define PV_COM_TX_GPIO_Port (GPIOA) |
Definition at line 26 of file pv_stm32h747.c.
#define PV_COM_TX_Pin (GPIO_PIN_10) |
Definition at line 25 of file pv_stm32h747.c.
#define SDRAM_DEVICE_ADDR 0xD0000000U |
Definition at line 30 of file pv_stm32h747.c.
#define UUID_ADDRESS (0x1FF1E800) |
Definition at line 19 of file pv_stm32h747.c.
#define UUID_SIZE (12) |
Definition at line 20 of file pv_stm32h747.c.
int __io_putchar | ( | int | ch | ) |
Definition at line 197 of file pv_stm32h747.c.
void assert_failed | ( | uint8_t * | file, |
uint32_t | line | ||
) |
Definition at line 190 of file pv_stm32h747.c.
|
static |
Definition at line 52 of file pv_stm32h747.c.
|
static |
Definition at line 35 of file pv_stm32h747.c.
void pv_board_deinit | ( | ) |
Definition at line 183 of file pv_stm32h747.c.
pv_status_t pv_board_init | ( | ) |
Definition at line 163 of file pv_stm32h747.c.
|
static |
Definition at line 57 of file pv_stm32h747.c.
void pv_error_handler | ( | void | ) |
Definition at line 186 of file pv_stm32h747.c.
const uint8_t* pv_get_uuid | ( | void | ) |
Definition at line 155 of file pv_stm32h747.c.
const uint32_t pv_get_uuid_size | ( | void | ) |
Definition at line 159 of file pv_stm32h747.c.
pv_status_t pv_message_init | ( | void | ) |
Definition at line 148 of file pv_stm32h747.c.
|
static |
Definition at line 110 of file pv_stm32h747.c.
UART_HandleTypeDef huart |
Definition at line 33 of file pv_stm32h747.c.
|
static |
Definition at line 32 of file pv_stm32h747.c.