SAM Inter-IC Sound Controller Basic Quickstart.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
#include <conf_i2s_quick_start.h>
Functions | |
static void | _configure_i2s (void) |
[module_inst] More... | |
int | main (void) |
[setup] More... | |
Variables | |
struct i2s_module | i2s_instance |
[module_inst] More... | |
|
static |
[module_inst]
[setup]
[setup_i2s_init]
[setup_i2s_init]
[setup_clock_unit_config]
[setup_clock_unit_config] [setup_clock_unit_config_defaults]
[setup_clock_unit_config_defaults]
[setup_clock_unit_change_config]
[setup_clock_unit_change_config]
[setup_clock_unit_change_pins]
[setup_clock_unit_change_pins]
[setup_clock_unit_set_config]
[setup_clock_unit_set_config]
[setup_serializer_config]
[setup_serializer_config] [setup_serializer_config_defaults]
[setup_serializer_config_defaults]
[setup_serializer_change_config_tx]
[setup_serializer_change_config_tx]
[setup_serializer_change_config_pin_tx]
[setup_serializer_change_config_pin_tx]
[setup_serializer_set_config_tx]
[setup_serializer_set_config_tx]
[setup_enable]
[setup_enable]
References i2s_clock_unit_config::clock, i2s_serializer_config::clock_unit, i2s_frame_config::data_delay, i2s_serializer_config::data_pin, i2s_serializer_config::data_size, i2s_pin_config::enable, i2s_clock_unit_config::frame, i2s_frame_config::frame_sync, i2s_clock_unit_config::fs_pin, GCLK_GENERATOR_0, i2s_clock_config::gclk_src, i2s_pin_config::gpio, I2S_CLOCK_UNIT_0, i2s_clock_unit_enable(), i2s_clock_unit_get_config_defaults(), i2s_clock_unit_set_config(), I2S_DATA_DELAY_0, I2S_DATA_SIZE_16BIT, i2s_enable(), I2S_FRAME_SYNC_SOURCE_SCKDIV, I2S_FRAME_SYNC_WIDTH_HALF_FRAME, i2s_init(), i2s_instance, I2S_MASTER_CLOCK_SOURCE_GCLK, I2S_SERIAL_CLOCK_SOURCE_MCKDIV, I2S_SERIALIZER_0, i2s_serializer_enable(), i2s_serializer_get_config_defaults(), i2s_serializer_set_config(), I2S_SERIALIZER_TRANSMIT, I2S_SLOT_SIZE_32_BIT, i2s_clock_config::mck_out_div, i2s_clock_config::mck_out_enable, i2s_clock_unit_config::mck_pin, i2s_clock_config::mck_src, i2s_serializer_config::mode, i2s_pin_config::mux, i2s_frame_config::number_slots, i2s_clock_config::sck_div, i2s_clock_unit_config::sck_pin, i2s_clock_config::sck_src, i2s_frame_config::slot_size, i2s_frame_sync_config::source, and i2s_frame_sync_config::width.
Referenced by main().
int main | ( | void | ) |
[setup]
[setup_init]
[setup_init]
[main]
[main_loop]
[main_loop]
[main]
References _configure_i2s(), i2s_instance, I2S_SERIALIZER_0, i2s_serializer_write_wait(), and system_init().
struct i2s_module i2s_instance |
[module_inst]