1# Atmel SAM I2S bus driver configuration options
2
3# Copyright (c) 2017 Piotr Mienkowski
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig I2S_SAM_SSC
7	bool "Atmel SAM MCU family I2S (SSC) Bus Driver"
8	default y
9	depends on DT_HAS_ATMEL_SAM_SSC_ENABLED
10	select DMA
11	help
12	  Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
13	  Synchronous Serial Controller (SSC) module.
14
15if I2S_SAM_SSC
16
17config I2S_SAM_SSC_RX_BLOCK_COUNT
18	int "RX queue length"
19	default 4
20
21config I2S_SAM_SSC_TX_BLOCK_COUNT
22	int "TX queue length"
23	default 4
24
25config I2S_SAM_SSC_0_PIN_RF_EN
26	bool "RF pin enabled"
27	default y
28	help
29	  If enabled RF signal is connected to RF pin. It will be configured as
30	  an output or an input depending on whether the receiver is working
31	  in master or slave mode.
32
33	  If disabled RF signal is disconnected from RF pin and connected
34	  internally to TF (Transmitter Frame Synchro signal).
35
36config I2S_SAM_SSC_0_PIN_RK_EN
37	bool "RK pin enabled"
38	default y
39	help
40	  If enabled RK signal is connected to RK pin. It will be configured as
41	  an output or an input depending on whether the receiver is working
42	  in master or slave mode.
43
44	  If disabled RK signal is disconnected from RK pin and connected
45	  internally to TK (Transmitter Clock signal).
46
47endif # I2S_SAM_SSC
48