#include <stdbool.h>
#include <string.h>
#include "stm32h7xx_hal.h"
#include "main.h"
#include "pv_st_h735.h"
Go to the source code of this file.
Macros | |
#define | PV_COM (USART3) |
#define | PV_COM_ALT (GPIO_AF7_USART3) |
#define | PV_COM_IRQn (USART3_IRQn) |
#define | PV_COM_RX_GPIO_Port (GPIOD) |
#define | PV_COM_RX_Pin (GPIO_PIN_9) |
#define | PV_COM_TX_GPIO_Port (GPIOD) |
#define | PV_COM_TX_Pin (GPIO_PIN_8) |
#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) |
static void | MX_GPIO_Init (void) |
static void | PeriphCommonClock_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 (USART3) |
Definition at line 23 of file pv_st_h735.c.
#define PV_COM_ALT (GPIO_AF7_USART3) |
Definition at line 24 of file pv_st_h735.c.
#define PV_COM_IRQn (USART3_IRQn) |
Definition at line 25 of file pv_st_h735.c.
#define PV_COM_RX_GPIO_Port (GPIOD) |
Definition at line 29 of file pv_st_h735.c.
#define PV_COM_RX_Pin (GPIO_PIN_9) |
Definition at line 28 of file pv_st_h735.c.
#define PV_COM_TX_GPIO_Port (GPIOD) |
Definition at line 27 of file pv_st_h735.c.
#define PV_COM_TX_Pin (GPIO_PIN_8) |
Definition at line 26 of file pv_st_h735.c.
#define UUID_ADDRESS (0x1FF1E800) |
Definition at line 20 of file pv_st_h735.c.
#define UUID_SIZE (12) |
Definition at line 21 of file pv_st_h735.c.
int __io_putchar | ( | int | ch | ) |
Definition at line 195 of file pv_st_h735.c.
void assert_failed | ( | uint8_t * | file, |
uint32_t | line | ||
) |
Definition at line 218 of file pv_st_h735.c.
|
static |
Definition at line 36 of file pv_st_h735.c.
|
static |
Definition at line 123 of file pv_st_h735.c.
|
static |
Definition at line 115 of file pv_st_h735.c.
|
static |
Definition at line 96 of file pv_st_h735.c.
void pv_board_deinit | ( | ) |
Definition at line 93 of file pv_st_h735.c.
pv_status_t pv_board_init | ( | ) |
Definition at line 200 of file pv_st_h735.c.
|
static |
Definition at line 41 of file pv_st_h735.c.
void pv_error_handler | ( | void | ) |
Definition at line 213 of file pv_st_h735.c.
const uint8_t* pv_get_uuid | ( | void | ) |
Definition at line 85 of file pv_st_h735.c.
const uint32_t pv_get_uuid_size | ( | void | ) |
Definition at line 89 of file pv_st_h735.c.
pv_status_t pv_message_init | ( | void | ) |
Definition at line 188 of file pv_st_h735.c.
|
static |
Definition at line 150 of file pv_st_h735.c.
UART_HandleTypeDef huart |
Definition at line 33 of file pv_st_h735.c.
|
static |
Definition at line 31 of file pv_st_h735.c.