KETCube
Data Structures | Macros | Typedefs | Functions | Variables
ketCube_ics43432.h File Reference

This file contains definitions for the ICS43432 microphone module. More...

#include "ketCube_coreCfg.h"

Go to the source code of this file.

Data Structures

struct  ketCube_ics43432_moduleCfg_t
 KETCube module configuration. More...
 

Macros

#define KETCUBE_ICS43432_10_dBSPL   27U
 
#define KETCUBE_ICS43432_20_dBSPL   84U
 
#define KETCUBE_ICS43432_30_dBSPL   265U
 
#define KETCUBE_ICS43432_40_dBSPL   839U
 
#define KETCUBE_ICS43432_50_dBSPL   2653U
 
#define KETCUBE_ICS43432_60_dBSPL   8389U
 
#define KETCUBE_ICS43432_70_dBSPL   26527U
 
#define KETCUBE_ICS43432_80_dBSPL   83886U
 
#define KETCUBE_ICS43432_90_dBSPL   265271U
 
#define KETCUBE_ICS43432_100_dBSPL   838861U
 
#define KETCUBE_ICS43432_110_dBSPL   2652711U
 
#define KETCUBE_ICS43432_120_dBSPL   8388608U
 
#define KETCUBE_ICS43432_NOISE_LED_PORT   KETCUBE_GPIO_PB
 
#define KETCUBE_ICS43432_NOISE_LED_PIN   GPIO_PIN_2
 
#define KETCUBE_ICS43432_MAX_SAMPLE_COUNT   KETCUBE_I2S_SAMPLE_RATE * KETCUBE_CORECFG_MIN_BASEPERIOD / 1000
 

Typedefs

typedef struct ketCube_ics43432_moduleCfg_t ketCube_ics43432_moduleCfg_t
 KETCube module configuration. More...
 

Functions

ketCube_cfg_ModError_t ketCube_ics43432_Init (ketCube_InterModMsg_t ***msg)
 
ketCube_cfg_ModError_t ketCube_ics43432_UnInit (void)
 
ketCube_cfg_ModError_t ketCube_ics43432_ReadData (uint8_t *buffer, uint8_t *len)
 
void SPI2_IRQHandler (void)
 

Variables

ketCube_ics43432_moduleCfg_t ketCube_ics43432_moduleCfg
 

Detailed Description

This file contains definitions for the ICS43432 microphone module.

Author
Krystof Vanek
Version
pre-alpha
Date
2018-11-18
Attention

© Copyright (c) 2018 University of West Bohemia in Pilsen All rights reserved.

Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.

Macro Definition Documentation

◆ KETCUBE_ICS43432_100_dBSPL

#define KETCUBE_ICS43432_100_dBSPL   838861U

◆ KETCUBE_ICS43432_10_dBSPL

#define KETCUBE_ICS43432_10_dBSPL   27U

◆ KETCUBE_ICS43432_110_dBSPL

#define KETCUBE_ICS43432_110_dBSPL   2652711U

◆ KETCUBE_ICS43432_120_dBSPL

#define KETCUBE_ICS43432_120_dBSPL   8388608U

◆ KETCUBE_ICS43432_20_dBSPL

#define KETCUBE_ICS43432_20_dBSPL   84U

◆ KETCUBE_ICS43432_30_dBSPL

#define KETCUBE_ICS43432_30_dBSPL   265U

◆ KETCUBE_ICS43432_40_dBSPL

#define KETCUBE_ICS43432_40_dBSPL   839U

◆ KETCUBE_ICS43432_50_dBSPL

#define KETCUBE_ICS43432_50_dBSPL   2653U

◆ KETCUBE_ICS43432_60_dBSPL

#define KETCUBE_ICS43432_60_dBSPL   8389U

◆ KETCUBE_ICS43432_70_dBSPL

#define KETCUBE_ICS43432_70_dBSPL   26527U

◆ KETCUBE_ICS43432_80_dBSPL

#define KETCUBE_ICS43432_80_dBSPL   83886U

◆ KETCUBE_ICS43432_90_dBSPL

#define KETCUBE_ICS43432_90_dBSPL   265271U

◆ KETCUBE_ICS43432_MAX_SAMPLE_COUNT

#define KETCUBE_ICS43432_MAX_SAMPLE_COUNT   KETCUBE_I2S_SAMPLE_RATE * KETCUBE_CORECFG_MIN_BASEPERIOD / 1000

◆ KETCUBE_ICS43432_NOISE_LED_PIN

#define KETCUBE_ICS43432_NOISE_LED_PIN   GPIO_PIN_2

◆ KETCUBE_ICS43432_NOISE_LED_PORT

#define KETCUBE_ICS43432_NOISE_LED_PORT   KETCUBE_GPIO_PB

Typedef Documentation

◆ ketCube_ics43432_moduleCfg_t

KETCube module configuration.

Function Documentation

◆ ketCube_ics43432_Init()

ketCube_cfg_ModError_t ketCube_ics43432_Init ( ketCube_InterModMsg_t ***  msg)

◆ ketCube_ics43432_ReadData()

ketCube_cfg_ModError_t ketCube_ics43432_ReadData ( uint8_t *  buffer,
uint8_t *  len 
)

◆ ketCube_ics43432_UnInit()

ketCube_cfg_ModError_t ketCube_ics43432_UnInit ( void  )

◆ SPI2_IRQHandler()

void SPI2_IRQHandler ( void  )

Variable Documentation

◆ ketCube_ics43432_moduleCfg

ketCube_ics43432_moduleCfg_t ketCube_ics43432_moduleCfg
extern