SAM I2S - Inter-IC Sound Controller.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "i2s.h"
Functions | |
void | i2s_clear_status (const struct i2s_module *const module_inst, uint32_t status) |
Clears a module status flags. More... | |
enum status_code | i2s_clock_unit_set_config (struct i2s_module *const module_inst, const enum i2s_clock_unit clock_unit, const struct i2s_clock_unit_config *config) |
Configure specified I2S clock unit. More... | |
void | i2s_disable_status_interrupt (struct i2s_module *const module_inst, uint32_t status) |
Disable interrupts on status set. More... | |
enum status_code | i2s_enable_status_interrupt (struct i2s_module *const module_inst, uint32_t status) |
Enable interrupts on status set. More... | |
uint32_t | i2s_get_status (const struct i2s_module *const module_inst) |
Retrieves the current module status. More... | |
enum status_code | i2s_init (struct i2s_module *const module_inst, I2s *hw) |
Initializes a hardware I2S module instance. More... | |
enum status_code | i2s_serializer_read_buffer_wait (const struct i2s_module *const module_inst, enum i2s_serializer serializer, void *buffer, uint32_t size) |
Read from the specified Serializer of I2S module to a buffer. More... | |
enum status_code | i2s_serializer_set_config (struct i2s_module *const module_inst, const enum i2s_serializer serializer, const struct i2s_serializer_config *config) |
Configure specified I2S serializer. More... | |
enum status_code | i2s_serializer_write_buffer_wait (const struct i2s_module *const module_inst, enum i2s_serializer serializer, void *buffer, uint32_t size) |
Write buffer to the specified Serializer of I2S module. More... | |