Macros | Functions | Variables
pv_st_h735.c File Reference
#include <stdbool.h>
#include <string.h>
#include "stm32h7xx_hal.h"
#include "main.h"
#include "pv_st_h735.h"
Include dependency graph for pv_st_h735.c:

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]
 

Macro Definition Documentation

◆ PV_COM

#define PV_COM   (USART3)

Definition at line 23 of file pv_st_h735.c.

◆ PV_COM_ALT

#define PV_COM_ALT   (GPIO_AF7_USART3)

Definition at line 24 of file pv_st_h735.c.

◆ PV_COM_IRQn

#define PV_COM_IRQn   (USART3_IRQn)

Definition at line 25 of file pv_st_h735.c.

◆ PV_COM_RX_GPIO_Port

#define PV_COM_RX_GPIO_Port   (GPIOD)

Definition at line 29 of file pv_st_h735.c.

◆ PV_COM_RX_Pin

#define PV_COM_RX_Pin   (GPIO_PIN_9)

Definition at line 28 of file pv_st_h735.c.

◆ PV_COM_TX_GPIO_Port

#define PV_COM_TX_GPIO_Port   (GPIOD)

Definition at line 27 of file pv_st_h735.c.

◆ PV_COM_TX_Pin

#define PV_COM_TX_Pin   (GPIO_PIN_8)

Definition at line 26 of file pv_st_h735.c.

◆ UUID_ADDRESS

#define UUID_ADDRESS   (0x1FF1E800)

Definition at line 20 of file pv_st_h735.c.

◆ UUID_SIZE

#define UUID_SIZE   (12)

Definition at line 21 of file pv_st_h735.c.

Function Documentation

◆ __io_putchar()

int __io_putchar ( int  ch)

Definition at line 195 of file pv_st_h735.c.

◆ assert_failed()

void assert_failed ( uint8_t *  file,
uint32_t  line 
)

Definition at line 218 of file pv_st_h735.c.

◆ CPU_CACHE_Enable()

static void CPU_CACHE_Enable ( void  )
static

Definition at line 36 of file pv_st_h735.c.

◆ MPU_Config()

static void MPU_Config ( void  )
static

Definition at line 123 of file pv_st_h735.c.

◆ MX_GPIO_Init()

static void MX_GPIO_Init ( void  )
static

Definition at line 115 of file pv_st_h735.c.

◆ PeriphCommonClock_Config()

static void PeriphCommonClock_Config ( void  )
static

Definition at line 96 of file pv_st_h735.c.

◆ pv_board_deinit()

void pv_board_deinit ( )

Definition at line 93 of file pv_st_h735.c.

◆ pv_board_init()

pv_status_t pv_board_init ( )

Definition at line 200 of file pv_st_h735.c.

◆ pv_clock_config()

static pv_status_t pv_clock_config ( void  )
static

Definition at line 41 of file pv_st_h735.c.

◆ pv_error_handler()

void pv_error_handler ( void  )

Definition at line 213 of file pv_st_h735.c.

◆ pv_get_uuid()

const uint8_t* pv_get_uuid ( void  )

Definition at line 85 of file pv_st_h735.c.

◆ pv_get_uuid_size()

const uint32_t pv_get_uuid_size ( void  )

Definition at line 89 of file pv_st_h735.c.

◆ pv_message_init()

pv_status_t pv_message_init ( void  )

Definition at line 188 of file pv_st_h735.c.

◆ pv_uart_init()

static pv_status_t pv_uart_init ( void  )
static

Definition at line 150 of file pv_st_h735.c.

Variable Documentation

◆ huart

Definition at line 33 of file pv_st_h735.c.

◆ uuid

uint8_t uuid[UUID_SIZE]
static

Definition at line 31 of file pv_st_h735.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:00