Macros | Functions
audio_mem_mgnt.c File Reference

malloc management More...

#include "audio_mem_mgnt.h"
#include <stdlib.h>
Include dependency graph for audio_mem_mgnt.c:

Go to the source code of this file.

Macros

#define _CCSIDR_LSSHIFT(x)   (((x) & SCB_CCSIDR_LINESIZE_Msk) >> SCB_CCSIDR_LINESIZE_Pos)
 
#define AUDIO_MEM_UNUSED_VAR(x)   ((void)(x))
 

Functions

__weak void AudioFree (void *const pMemToFree, int32_t const type)
 
__weak void * AudioMalloc (size_t const size, int32_t const type)
 
void CPU_CACHE_Flush (uint8_t *const buffer, uint32_t const length_in_bytes)
 

Detailed Description

malloc management

Author
STM
Version
V2.2.0
Date
09-Februray-2021
Attention

This software component is licensed by ST under Ultimate Liberty license SLA0044, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: www.st.com/SLA0044

Definition in file audio_mem_mgnt.c.

Macro Definition Documentation

◆ _CCSIDR_LSSHIFT

#define _CCSIDR_LSSHIFT (   x)    (((x) & SCB_CCSIDR_LINESIZE_Msk) >> SCB_CCSIDR_LINESIZE_Pos)

Definition at line 42 of file audio_mem_mgnt.c.

◆ AUDIO_MEM_UNUSED_VAR

#define AUDIO_MEM_UNUSED_VAR (   x)    ((void)(x))

Definition at line 20 of file audio_mem_mgnt.c.

Function Documentation

◆ AudioFree()

__weak void AudioFree ( void *const  pMemToFree,
int32_t const  type 
)

Definition at line 146 of file audio_mem_mgnt.c.

◆ AudioMalloc()

__weak void* AudioMalloc ( size_t const  size,
int32_t const  type 
)

Definition at line 121 of file audio_mem_mgnt.c.

◆ CPU_CACHE_Flush()

void CPU_CACHE_Flush ( uint8_t *const  buffer,
uint32_t const  length_in_bytes 
)

Definition at line 44 of file audio_mem_mgnt.c.



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