Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

ssi_types.h File Reference


Detailed Description

This header file contains SSI types.

Definition in file ssi_types.h.

Go to the source code of this file.

Enumerations

enum  fifo_nb { ssi_fifo_0 = 0, ssi_fifo_1 = 1 }
enum  idle_state { clock_idle_state_1 = 0, clock_idle_state_0 = 1 }
enum  mode_i2s { i2s_normal = 0, i2s_master = 1, i2s_slave = 2 }
enum  ssi_mod { SSI1 = 0, SSI2 = 1 }
enum  ssi_status_enable_mask {
  ssi_tx_fifo_0_empty = 0x00000001, ssi_tx_fifo_1_empty = 0x00000002, ssi_rx_fifo_0_full = 0x00000004, ssi_rx_fifo_1_full = 0x00000008,
  ssi_rls = 0x00000010, ssi_tls = 0x00000020, ssi_rfs = 0x00000040, ssi_tfs = 0x00000080,
  ssi_transmitter_underrun_0 = 0x00000100, ssi_transmitter_underrun_1 = 0x00000200, ssi_receiver_overrun_0 = 0x00000400, ssi_receiver_overrun_1 = 0x00000800,
  ssi_tx_data_reg_empty_0 = 0x00001000, ssi_tx_data_reg_empty_1 = 0x00002000, ssi_rx_data_ready_0 = 0x00004000, ssi_rx_data_ready_1 = 0x00008000,
  ssi_rx_tag_updated = 0x00010000, ssi_cmd_data_reg_updated = 0x00020000, ssi_cmd_address_reg_updated = 0x00040000, ssi_tx_interrupt_enable = 0x00080000,
  ssi_tx_dma_interrupt_enable = 0x00100000, ssi_rx_interrupt_enable = 0x00200000, ssi_rx_dma_interrupt_enable = 0x00400000, ssi_tx_frame_complete = 0x00800000,
  ssi_rx_frame_complete = 0x001000000
}
enum  ssi_tx_rx_clock_polarity { ssi_clock_on_rising_edge = 0, ssi_clock_on_falling_edge = 1 }
enum  ssi_tx_rx_direction { ssi_tx_rx_externally = 0, ssi_tx_rx_internally = 1 }
enum  ssi_tx_rx_early_frame_sync { ssi_frame_sync_first_bit = 0, ssi_frame_sync_one_bit_before = 1 }
enum  ssi_tx_rx_frame_sync_active { ssi_frame_sync_active_high = 0, ssi_frame_sync_active_low = 1 }
enum  ssi_tx_rx_frame_sync_length { ssi_frame_sync_one_word = 0, ssi_frame_sync_one_bit = 1 }
enum  ssi_tx_rx_shift_direction { ssi_msb_first = 0, ssi_lsb_first = 1 }
enum  ssi_wait_states { ssi_waitstates0 = 0x0, ssi_waitstates1 = 0x1, ssi_waitstates2 = 0x2, ssi_waitstates3 = 0x3 }
enum  ssi_word_length {
  ssi_2_bits = 0x0, ssi_4_bits = 0x1, ssi_6_bits = 0x2, ssi_8_bits = 0x3,
  ssi_10_bits = 0x4, ssi_12_bits = 0x5, ssi_14_bits = 0x6, ssi_16_bits = 0x7,
  ssi_18_bits = 0x8, ssi_20_bits = 0x9, ssi_22_bits = 0xA, ssi_24_bits = 0xB,
  ssi_26_bits = 0xC, ssi_28_bits = 0xD, ssi_30_bits = 0xE, ssi_32_bits = 0xF
}


Generated by  Doxygen 1.6.0   Back to index