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

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]
 

Macro Definition Documentation

◆ PV_COM

#define PV_COM   (USART1)

Definition at line 22 of file pv_stm32h747.c.

◆ PV_COM_ALT

#define PV_COM_ALT   (GPIO_AF7_USART1)

Definition at line 23 of file pv_stm32h747.c.

◆ PV_COM_IRQn

#define PV_COM_IRQn   (USART1_IRQn)

Definition at line 24 of file pv_stm32h747.c.

◆ PV_COM_RX_GPIO_Port

#define PV_COM_RX_GPIO_Port   (GPIOA)

Definition at line 28 of file pv_stm32h747.c.

◆ PV_COM_RX_Pin

#define PV_COM_RX_Pin   (GPIO_PIN_9)

Definition at line 27 of file pv_stm32h747.c.

◆ PV_COM_TX_GPIO_Port

#define PV_COM_TX_GPIO_Port   (GPIOA)

Definition at line 26 of file pv_stm32h747.c.

◆ PV_COM_TX_Pin

#define PV_COM_TX_Pin   (GPIO_PIN_10)

Definition at line 25 of file pv_stm32h747.c.

◆ SDRAM_DEVICE_ADDR

#define SDRAM_DEVICE_ADDR   0xD0000000U

Definition at line 30 of file pv_stm32h747.c.

◆ UUID_ADDRESS

#define UUID_ADDRESS   (0x1FF1E800)

Definition at line 19 of file pv_stm32h747.c.

◆ UUID_SIZE

#define UUID_SIZE   (12)

Definition at line 20 of file pv_stm32h747.c.

Function Documentation

◆ __io_putchar()

int __io_putchar ( int  ch)

Definition at line 197 of file pv_stm32h747.c.

◆ assert_failed()

void assert_failed ( uint8_t *  file,
uint32_t  line 
)

Definition at line 190 of file pv_stm32h747.c.

◆ CPU_CACHE_Enable()

static void CPU_CACHE_Enable ( void  )
static

Definition at line 52 of file pv_stm32h747.c.

◆ MPU_Config()

static void MPU_Config ( void  )
static

Definition at line 35 of file pv_stm32h747.c.

◆ pv_board_deinit()

void pv_board_deinit ( )

Definition at line 183 of file pv_stm32h747.c.

◆ pv_board_init()

pv_status_t pv_board_init ( )

Definition at line 163 of file pv_stm32h747.c.

◆ pv_clock_config()

static pv_status_t pv_clock_config ( void  )
static

Definition at line 57 of file pv_stm32h747.c.

◆ pv_error_handler()

void pv_error_handler ( void  )

Definition at line 186 of file pv_stm32h747.c.

◆ pv_get_uuid()

const uint8_t* pv_get_uuid ( void  )

Definition at line 155 of file pv_stm32h747.c.

◆ pv_get_uuid_size()

const uint32_t pv_get_uuid_size ( void  )

Definition at line 159 of file pv_stm32h747.c.

◆ pv_message_init()

pv_status_t pv_message_init ( void  )

Definition at line 148 of file pv_stm32h747.c.

◆ pv_uart_init()

static pv_status_t pv_uart_init ( void  )
static

Definition at line 110 of file pv_stm32h747.c.

Variable Documentation

◆ huart

Definition at line 33 of file pv_stm32h747.c.

◆ uuid

uint8_t uuid[UUID_SIZE]
static

Definition at line 32 of file pv_stm32h747.c.



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