Macros | Functions | Variables
psoc062s2/main.c File Reference
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "cy_rgb_led.h"
#include "cybsp.h"
#include "pv_audio_rec.h"
#include "pv_keywords.h"
#include "pv_porcupine.h"
#include "pv_psoc6.h"
Include dependency graph for psoc062s2/main.c:

Go to the source code of this file.

Macros

#define MEMORY_BUFFER_SIZE   (70 * 1024)
 

Functions

static void error_handler (void)
 
int main (void)
 

Variables

static const char * ACCESS_KEY
 
static const int32_t KEYWORD_MODEL_SIZES [] = { sizeof(DEFAULT_KEYWORD_ARRAY) }
 
static const void * KEYWORD_MODELS [] = { DEFAULT_KEYWORD_ARRAY }
 
static const char * KEYWORDS_NAME [] = { "" }
 
static const int32_t NUM_KEYWORDS = 1
 
static const float SENSITIVITIES [] = { 0.75f }
 

Macro Definition Documentation

◆ MEMORY_BUFFER_SIZE

#define MEMORY_BUFFER_SIZE   (70 * 1024)

Definition at line 24 of file psoc062s2/main.c.

Function Documentation

◆ error_handler()

static void error_handler ( void  )
static

Definition at line 69 of file psoc062s2/main.c.

◆ main()

int main ( void  )

Definition at line 74 of file psoc062s2/main.c.

Variable Documentation

◆ ACCESS_KEY

const char* ACCESS_KEY
static
Initial value:
= ...
static int8_t memory_buffer[MEMORY_BUFFER_SIZE] __attribute__((aligned(16)))

Definition at line 26 of file psoc062s2/main.c.

◆ KEYWORD_MODEL_SIZES

const int32_t KEYWORD_MODEL_SIZES[] = { sizeof(DEFAULT_KEYWORD_ARRAY) }
static

Definition at line 62 of file psoc062s2/main.c.

◆ KEYWORD_MODELS

const void* KEYWORD_MODELS[] = { DEFAULT_KEYWORD_ARRAY }
static

Definition at line 63 of file psoc062s2/main.c.

◆ KEYWORDS_NAME

const char* KEYWORDS_NAME[] = { "" }
static

Definition at line 65 of file psoc062s2/main.c.

◆ NUM_KEYWORDS

const int32_t NUM_KEYWORDS = 1
static

Definition at line 61 of file psoc062s2/main.c.

◆ SENSITIVITIES

const float SENSITIVITIES[] = { 0.75f }
static

Definition at line 64 of file psoc062s2/main.c.

MEMORY_BUFFER_SIZE
#define MEMORY_BUFFER_SIZE
Definition: psoc062s2/main.c:24
__attribute__
__attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
Reverse byte order (16 bit)
Definition: imxrt1050/imxrt1050-evkb/CMSIS/cmsis_armcc.h:492


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