stm32f411-i2s
All Classes Files Functions Variables Enumerations Pages
Classes | Typedefs | Enumerations | Functions | Variables
stm32-i2s.h File Reference

Main entry point header for this library. More...

#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Arduino.h"
#include "PinConfigured.h"
#include "stm32-config-i2s.h"
#include "stm32f4xx_hal.h"

Go to the source code of this file.

Classes

struct  stm32_i2s::I2SPin
 Define individual Pin. This is used to set up processor specific arrays with all I2S pins and to setup and end the pin definition. More...
 
struct  stm32_i2s::HardwareConfig
 Processor specific settings that are needed to set up I2S. More...
 
struct  stm32_i2s::I2SSettingsSTM32
 Currently supported parameters. More...
 
class  stm32_i2s::Stm32I2sClass
 I2S API for STM32. More...
 

Typedefs

using stm32_i2s::byte = uint8_t
 

Enumerations

enum  stm32_i2s::I2SPinFunction {
  mclk , bck , ws , data_out ,
  data_in
}
 i2s pin function used as documentation
 

Functions

void stm32_i2s::HAL_I2S_TxCpltCallback (I2S_HandleTypeDef *hi2s)
 
void stm32_i2s::HAL_I2S_TxHalfCpltCallback (I2S_HandleTypeDef *hi2s)
 
void stm32_i2s::HAL_I2S_RxCpltCallback (I2S_HandleTypeDef *hi2s)
 
void stm32_i2s::HAL_I2S_RxHalfCpltCallback (I2S_HandleTypeDef *hi2s)
 
void stm32_i2s::DMA1_Stream0_IRQHandler (void)
 
void stm32_i2s::DMA1_Stream5_IRQHandler (void)
 
void stm32_i2s::HAL_I2S_MspInit (I2S_HandleTypeDef *hi2s)
 
void stm32_i2s::HAL_I2S_MspDeInit (I2S_HandleTypeDef *hi2s)
 
void stm32_i2s::Report_Error ()
 
void stm32_i2s::STM32_LOG (const char *fmt,...)
 

Variables

uint32_t g_anOutputPinConfigured [MAX_NB_PORT]
 
bool stm32_i2s::stm32_i2s_is_error
 
Stm32I2sClass stm32_i2s::I2S
 Global I2S Object.
 

Detailed Description

Main entry point header for this library.

Author
phil Schatzmann
Version
0.1
Date
2022-09-22