Macros | Functions | Variables
pv_stm32f469.c File Reference
#include <stdbool.h>
#include <string.h>
#include "stm32469i_discovery.h"
#include "pv_stm32f469.h"
Include dependency graph for pv_stm32f469.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   (GPIOB)
 
#define PV_COM_RX_Pin   (GPIO_PIN_10)
 
#define PV_COM_TX_GPIO_Port   (GPIOB)
 
#define PV_COM_TX_Pin   (GPIO_PIN_11)
 
#define UUID_ADDRESS   (0x1FFF7A10)
 
#define UUID_SIZE   (12)
 

Functions

int __io_putchar (int ch)
 
void assert_failed (uint8_t *file, uint32_t line)
 
void pv_board_deinit ()
 
pv_status_t pv_board_init ()
 
static pv_status_t pv_clock_config (void)
 
static 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 22 of file pv_stm32f469.c.

◆ PV_COM_ALT

#define PV_COM_ALT   (GPIO_AF7_USART3)

Definition at line 23 of file pv_stm32f469.c.

◆ PV_COM_IRQn

#define PV_COM_IRQn   (USART3_IRQn)

Definition at line 24 of file pv_stm32f469.c.

◆ PV_COM_RX_GPIO_Port

#define PV_COM_RX_GPIO_Port   (GPIOB)

Definition at line 28 of file pv_stm32f469.c.

◆ PV_COM_RX_Pin

#define PV_COM_RX_Pin   (GPIO_PIN_10)

Definition at line 27 of file pv_stm32f469.c.

◆ PV_COM_TX_GPIO_Port

#define PV_COM_TX_GPIO_Port   (GPIOB)

Definition at line 26 of file pv_stm32f469.c.

◆ PV_COM_TX_Pin

#define PV_COM_TX_Pin   (GPIO_PIN_11)

Definition at line 25 of file pv_stm32f469.c.

◆ UUID_ADDRESS

#define UUID_ADDRESS   (0x1FFF7A10)

Definition at line 19 of file pv_stm32f469.c.

◆ UUID_SIZE

#define UUID_SIZE   (12)

Definition at line 20 of file pv_stm32f469.c.

Function Documentation

◆ __io_putchar()

int __io_putchar ( int  ch)

Definition at line 141 of file pv_stm32f469.c.

◆ assert_failed()

void assert_failed ( uint8_t *  file,
uint32_t  line 
)

Definition at line 134 of file pv_stm32f469.c.

◆ pv_board_deinit()

void pv_board_deinit ( )

Definition at line 127 of file pv_stm32f469.c.

◆ pv_board_init()

pv_status_t pv_board_init ( )

Definition at line 110 of file pv_stm32f469.c.

◆ pv_clock_config()

static pv_status_t pv_clock_config ( void  )
static

Definition at line 33 of file pv_stm32f469.c.

◆ pv_error_handler()

static void pv_error_handler ( void  )
static

Definition at line 130 of file pv_stm32f469.c.

◆ pv_get_uuid()

const uint8_t* pv_get_uuid ( void  )

Definition at line 102 of file pv_stm32f469.c.

◆ pv_get_uuid_size()

const uint32_t pv_get_uuid_size ( void  )

Definition at line 106 of file pv_stm32f469.c.

◆ pv_message_init()

pv_status_t pv_message_init ( void  )

Definition at line 98 of file pv_stm32f469.c.

◆ pv_uart_init()

static pv_status_t pv_uart_init ( void  )
static

Definition at line 68 of file pv_stm32f469.c.

Variable Documentation

◆ huart

Definition at line 31 of file pv_stm32f469.c.

◆ uuid

uint8_t uuid[UUID_SIZE]
static

Definition at line 30 of file pv_stm32f469.c.



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