Macros | Functions | Variables
pv_imxrt1050.c File Reference
#include <stdbool.h>
#include <string.h>
#include "MIMXRT1052.h"
#include "board.h"
#include "clock_config.h"
#include "fsl_debug_console.h"
#include "fsl_ocotp.h"
#include "peripherals.h"
#include "pin_mux.h"
#include "pv_imxrt1050.h"
Include dependency graph for pv_imxrt1050.c:

Go to the source code of this file.

Macros

#define PV_OCOTP_FREQ_HZ   (CLOCK_GetFreq(kCLOCK_IpgClk))
 
#define UUID_SIZE   (8)
 

Functions

void pv_board_deinit ()
 
pv_status_t pv_board_init ()
 
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

struct {
   const char *   context
 
   volatile bool   is_new_message
 
pv_message
 
static uint8_t uuid [UUID_SIZE]
 

Macro Definition Documentation

◆ PV_OCOTP_FREQ_HZ

#define PV_OCOTP_FREQ_HZ   (CLOCK_GetFreq(kCLOCK_IpgClk))

Definition at line 26 of file pv_imxrt1050.c.

◆ UUID_SIZE

#define UUID_SIZE   (8)

Definition at line 27 of file pv_imxrt1050.c.

Function Documentation

◆ pv_board_deinit()

void pv_board_deinit ( )

Definition at line 74 of file pv_imxrt1050.c.

◆ pv_board_init()

pv_status_t pv_board_init ( )

Definition at line 39 of file pv_imxrt1050.c.

◆ pv_error_handler()

void pv_error_handler ( void  )

Definition at line 77 of file pv_imxrt1050.c.

◆ pv_get_uuid()

const uint8_t* pv_get_uuid ( void  )

Definition at line 31 of file pv_imxrt1050.c.

◆ pv_get_uuid_size()

const uint32_t pv_get_uuid_size ( void  )

Definition at line 35 of file pv_imxrt1050.c.

◆ pv_message_init()

pv_status_t pv_message_init ( void  )

Definition at line 67 of file pv_imxrt1050.c.

◆ pv_uart_init()

static pv_status_t pv_uart_init ( void  )
static

Definition at line 63 of file pv_imxrt1050.c.

Variable Documentation

◆ context

const char* context

Definition at line 60 of file pv_imxrt1050.c.

◆ is_new_message

volatile bool is_new_message

Definition at line 59 of file pv_imxrt1050.c.

◆ pv_message

struct { ... } pv_message

◆ uuid

uint8_t uuid[UUID_SIZE]
static

Definition at line 29 of file pv_imxrt1050.c.



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