Microchip® Advanced Software Framework

i2s_callback.c File Reference

SAM I2S - Inter-IC Sound Controller.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "i2s_callback.h"

Functions

static void _i2s_interrupt_handler (const uint8_t instance)
 
void I2S_Handler (void)
 Interrupt handler for the I2S module. More...
 
void i2s_serializer_abort_job (struct i2s_module *const module_inst, const enum i2s_serializer serializer, const enum i2s_job_type job_type)
 Aborts an ongoing job running on serializer. More...
 
enum status_code i2s_serializer_get_job_status (const struct i2s_module *const module_inst, const enum i2s_serializer serializer, const enum i2s_job_type job_type)
 Gets the status of a job running on serializer. More...
 
enum status_code i2s_serializer_read_buffer_job (struct i2s_module *const module_inst, const enum i2s_serializer serializer, void *buffer, const uint32_t size)
 Read from the specified Serializer of I2S module to a buffer. More...
 
enum status_code i2s_serializer_write_buffer_job (struct i2s_module *const module_inst, const enum i2s_serializer serializer, const void *buffer, const uint32_t size)
 Write buffer to the specified Serializer of I2S module. More...
 

Variables

struct i2s_module_i2s_instances [I2S_INST_NUM]
 

void I2S_Handler ( void  )

Interrupt handler for the I2S module.

References _i2s_interrupt_handler().

struct i2s_module* _i2s_instances[I2S_INST_NUM]

Referenced by i2s_init().