Macros | Functions | Variables
stm32f469/stm32f469i-disco/Src/main.c File Reference
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "stm32469i_discovery.h"
#include "pv_porcupine_mcu.h"
#include "pv_audio_rec.h"
#include "pv_params.h"
#include "pv_stm32f469.h"
Include dependency graph for stm32f469/stm32f469i-disco/Src/main.c:

Go to the source code of this file.

Macros

#define MEMORY_BUFFER_SIZE   (20 * 1024)
 

Functions

static int8_t memory_buffer[MEMORY_BUFFER_SIZE__attribute__ ((aligned(16)))
 
static void error_handler (void)
 
int main (void)
 
static void wake_word_callback (void)
 

Variables

static const char * ACCESS_KEY
 
static const void * KEYWORD_MODELS = DEFAULT_KEYWORD_ARRAY
 
static const float SENSITIVITY = 0.75f
 

Macro Definition Documentation

◆ MEMORY_BUFFER_SIZE

#define MEMORY_BUFFER_SIZE   (20 * 1024)

Definition at line 24 of file stm32f469/stm32f469i-disco/Src/main.c.

Function Documentation

◆ __attribute__()

static int8_t memory_buffer [MEMORY_BUFFER_SIZE] __attribute__ ( (aligned(16))  )
static

◆ error_handler()

static void error_handler ( void  )
static

Definition at line 39 of file stm32f469/stm32f469i-disco/Src/main.c.

◆ main()

int main ( void  )

Definition at line 43 of file stm32f469/stm32f469i-disco/Src/main.c.

◆ wake_word_callback()

static void wake_word_callback ( void  )
static

Definition at line 34 of file stm32f469/stm32f469i-disco/Src/main.c.

Variable Documentation

◆ ACCESS_KEY

const char* ACCESS_KEY
static
Initial value:
= ...
static const int32_t KEYWORD_MODEL_SIZES = sizeof(DEFAULT_KEYWORD_ARRAY)

Definition at line 28 of file stm32f469/stm32f469i-disco/Src/main.c.

◆ KEYWORD_MODELS

const void* KEYWORD_MODELS = DEFAULT_KEYWORD_ARRAY
static

Definition at line 31 of file stm32f469/stm32f469i-disco/Src/main.c.

◆ SENSITIVITY

const float SENSITIVITY = 0.75f
static

Definition at line 32 of file stm32f469/stm32f469i-disco/Src/main.c.

KEYWORD_MODEL_SIZES
static const int32_t KEYWORD_MODEL_SIZES
Definition: imxrt1050/imxrt1050-evkb/source/main.c:28


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:58