Go to the documentation of this file.
19 #define UUID_ADDRESS (0x1FFF7A10)
20 #define UUID_SIZE (12)
22 #define PV_COM (USART3)
23 #define PV_COM_ALT (GPIO_AF7_USART3)
24 #define PV_COM_IRQn (USART3_IRQn)
25 #define PV_COM_TX_Pin (GPIO_PIN_11)
26 #define PV_COM_TX_GPIO_Port (GPIOB)
27 #define PV_COM_RX_Pin (GPIO_PIN_10)
28 #define PV_COM_RX_GPIO_Port (GPIOB)
43 RCC_OscInitStruct.
PLL.
PLLN = 360;
103 return (
const uint8_t *)
uuid;
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout)
@ PV_STATUS_INVALID_STATE
GPIO Init structure definition
RCC System, AHB and APB busses clock configuration structure definition.
HAL_StatusTypeDef HAL_PWREx_EnableOverDrive(void)
RCC Internal/External Oscillator (HSE, HSI, LSE and LSI) configuration structure definition.
const uint8_t * pv_get_uuid(void)
#define __HAL_RCC_USART3_CLK_ENABLE()
pv_status_t pv_board_init()
#define GPIO_SPEED_FREQ_LOW
UART handle Structure definition.
#define __HAL_RCC_GPIOB_CLK_ENABLE()
#define RCC_SYSCLKSOURCE_PLLCLK
#define UART_HWCONTROL_NONE
static pv_status_t pv_uart_init(void)
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
#define RCC_CLOCKTYPE_PCLK1
HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
#define PV_COM_TX_GPIO_Port
HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart)
HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
static uint8_t uuid[UUID_SIZE]
#define RCC_CLOCKTYPE_PCLK2
#define UART_WORDLENGTH_8B
#define RCC_PLLSOURCE_HSE
const uint32_t pv_get_uuid_size(void)
#define RCC_CLOCKTYPE_SYSCLK
#define PWR_REGULATOR_VOLTAGE_SCALE1
HAL_StatusTypeDef HAL_Init(void)
This function is used to initialize the HAL Library; it must be the first instruction to be executed ...
#define __HAL_RCC_PWR_CLK_ENABLE()
#define RCC_CLOCKTYPE_HCLK
void assert_failed(uint8_t *file, uint32_t line)
pv_status_t pv_message_init(void)
#define UART_OVERSAMPLING_16
static pv_status_t pv_clock_config(void)
#define RCC_OSCILLATORTYPE_HSE
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
static void pv_error_handler(void)
void BSP_LED_Init(Led_TypeDef Led)
Configures LED GPIO.
#define __HAL_PWR_VOLTAGESCALING_CONFIG(__REGULATOR__)
macros configure the main internal regulator output voltage.
This file contains definitions for STM32469I-Discovery LEDs, push-buttons hardware resources.