RZ/A1H CMSIS-RTOS RTX BSP for GR-PEACH.

Dependents:   R_BSP_SSIF_HelloWorld GR-PEACH_Azure_Speech ImageZoomInout_Sample ImageRotaion_Sample ... more

Fork of R_BSP by Daiki Kato

Embed: (wiki syntax)

« Back to documentation index

R_BSP_SsifDef.h File Reference

R_BSP_SsifDef.h File Reference

SSIF defines. More...

Go to the source code of this file.

Data Structures

struct  ssif_chcfg_romdec_t
 It's used for ROMDEC direct transfer mode and the call back function registration. More...
struct  ssif_channel_cfg_t
 This structure contains the configuration settings. More...

Enumerations

enum  ssif_chcfg_cks_t { SSIF_CFG_CKS_AUDIO_X1 = 0, SSIF_CFG_CKS_AUDIO_CLK = 1, SSIF_CFG_CKS_AUDIO_X1 = 0, SSIF_CFG_CKS_AUDIO_CLK = 1 }
 

SSICR:CKS(Clock source for oversampling)

More...
enum  ssif_chcfg_multi_ch_t {
  SSIF_CFG_MULTI_CH_1 = 0, SSIF_CFG_MULTI_CH_2 = 1, SSIF_CFG_MULTI_CH_3 = 2, SSIF_CFG_MULTI_CH_4 = 3,
  SSIF_CFG_MULTI_CH_1 = 0, SSIF_CFG_MULTI_CH_2 = 1, SSIF_CFG_MULTI_CH_3 = 2, SSIF_CFG_MULTI_CH_4 = 3
}
 

SSICR:CHNL(Audio channels per system word)

More...
enum  ssif_chcfg_data_word_t {
  SSIF_CFG_DATA_WORD_8 = 0, SSIF_CFG_DATA_WORD_16 = 1, SSIF_CFG_DATA_WORD_18 = 2, SSIF_CFG_DATA_WORD_20 = 3,
  SSIF_CFG_DATA_WORD_22 = 4, SSIF_CFG_DATA_WORD_24 = 5, SSIF_CFG_DATA_WORD_32 = 6, SSIF_CFG_DATA_WORD_8 = 0,
  SSIF_CFG_DATA_WORD_16 = 1, SSIF_CFG_DATA_WORD_18 = 2, SSIF_CFG_DATA_WORD_20 = 3, SSIF_CFG_DATA_WORD_22 = 4,
  SSIF_CFG_DATA_WORD_24 = 5, SSIF_CFG_DATA_WORD_32 = 6
}
 

SSICR:DWL(Data word length)

More...
enum  ssif_chcfg_system_word_t {
  SSIF_CFG_SYSTEM_WORD_8 = 0, SSIF_CFG_SYSTEM_WORD_16 = 1, SSIF_CFG_SYSTEM_WORD_24 = 2, SSIF_CFG_SYSTEM_WORD_32 = 3,
  SSIF_CFG_SYSTEM_WORD_48 = 4, SSIF_CFG_SYSTEM_WORD_64 = 5, SSIF_CFG_SYSTEM_WORD_128 = 6, SSIF_CFG_SYSTEM_WORD_256 = 7,
  SSIF_CFG_SYSTEM_WORD_8 = 0, SSIF_CFG_SYSTEM_WORD_16 = 1, SSIF_CFG_SYSTEM_WORD_24 = 2, SSIF_CFG_SYSTEM_WORD_32 = 3,
  SSIF_CFG_SYSTEM_WORD_48 = 4, SSIF_CFG_SYSTEM_WORD_64 = 5, SSIF_CFG_SYSTEM_WORD_128 = 6, SSIF_CFG_SYSTEM_WORD_256 = 7
}
 

SSICR:SWL(System word length)

More...
enum  ssif_chcfg_clock_pol_t { SSIF_CFG_FALLING = 0, SSIF_CFG_RISING = 1, SSIF_CFG_FALLING = 0, SSIF_CFG_RISING = 1 }
 

SSICR:SCKP(Clock polarity)

More...
enum  ssif_chcfg_ws_pol_t { SSIF_CFG_WS_LOW = 0, SSIF_CFG_WS_HIGH = 1, SSIF_CFG_WS_LOW = 0, SSIF_CFG_WS_HIGH = 1 }
 

SSICR:SWSP(Word select polarity)

More...
enum  ssif_chcfg_padding_pol_t { SSIF_CFG_PADDING_LOW = 0, SSIF_CFG_PADDING_HIGH = 1, SSIF_CFG_PADDING_LOW = 0, SSIF_CFG_PADDING_HIGH = 1 }
 

SSICR:SPDP(Serial padding polarity)

More...
enum  ssif_chcfg_serial_alignment_t { SSIF_CFG_DATA_FIRST = 0, SSIF_CFG_PADDING_FIRST = 1, SSIF_CFG_DATA_FIRST = 0, SSIF_CFG_PADDING_FIRST = 1 }
 

SSICR:SDTA(Serial data alignment)

More...
enum  ssif_chcfg_parallel_alignment_t { SSIF_CFG_LEFT = 0, SSIF_CFG_RIGHT = 1, SSIF_CFG_LEFT = 0, SSIF_CFG_RIGHT = 1 }
 

SSICR:PDTA(Parallel data alignment)

More...
enum  ssif_chcfg_ws_delay_t { SSIF_CFG_DELAY = 0, SSIF_CFG_NO_DELAY = 1, SSIF_CFG_DELAY = 0, SSIF_CFG_NO_DELAY = 1 }
 

SSICR:DEL(Serial data delay)

More...
enum  ssif_chcfg_ckdv_t
 

SSICR:CKDV(Serial oversampling clock division ratio)

More...
enum  ssif_chcfg_noise_cancel_t { SSIF_CFG_DISABLE_NOISE_CANCEL = 0, SSIF_CFG_ENABLE_NOISE_CANCEL = 1, SSIF_CFG_DISABLE_NOISE_CANCEL = 0, SSIF_CFG_ENABLE_NOISE_CANCEL = 1 }
 

SNCR:SSIxNL(Serial sound interface channel x noise canceler enable)

More...
enum  ssif_chcfg_tdm_t { SSIF_CFG_DISABLE_TDM = 0, SSIF_CFG_ENABLE_TDM = 1, SSIF_CFG_DISABLE_TDM = 0, SSIF_CFG_ENABLE_TDM = 1 }
 

SSITDMR:TDM(TDM mode)

More...

Detailed Description

SSIF defines.

Definition in file R_BSP_SsifDef.h.


Enumeration Type Documentation

SSICR:CKDV(Serial oversampling clock division ratio)

Definition at line 144 of file R_BSP_SsifDef.h.

SSICR:CKS(Clock source for oversampling)

Enumerator:
SSIF_CFG_CKS_AUDIO_X1 

select AUDIO_X1

SSIF_CFG_CKS_AUDIO_CLK 

select AUIDIO_CLK

Definition at line 61 of file R_BSP_SsifDef.h.

SSICR:SCKP(Clock polarity)

Enumerator:
SSIF_CFG_FALLING 

Falling edge.

SSIF_CFG_RISING 

Rising edge.

Definition at line 102 of file R_BSP_SsifDef.h.

SSICR:DWL(Data word length)

Enumerator:
SSIF_CFG_DATA_WORD_8 

Data word length 8.

SSIF_CFG_DATA_WORD_16 

Data word length 16.

SSIF_CFG_DATA_WORD_18 

Data word length 18.

SSIF_CFG_DATA_WORD_20 

Data word length 20.

SSIF_CFG_DATA_WORD_22 

Data word length 22.

SSIF_CFG_DATA_WORD_24 

Data word length 24.

SSIF_CFG_DATA_WORD_32 

Data word length 32.

Definition at line 77 of file R_BSP_SsifDef.h.

SSICR:CHNL(Audio channels per system word)

Enumerator:
SSIF_CFG_MULTI_CH_1 

1ch within systemword (on tdm=0)

SSIF_CFG_MULTI_CH_2 

2ch within systemword (on tdm=0)

SSIF_CFG_MULTI_CH_3 

3ch within systemword (on tdm=0)

SSIF_CFG_MULTI_CH_4 

4ch within systemword (on tdm=0)

Definition at line 68 of file R_BSP_SsifDef.h.

SNCR:SSIxNL(Serial sound interface channel x noise canceler enable)

Enumerator:
SSIF_CFG_DISABLE_NOISE_CANCEL 

Not use noise cancel function.

SSIF_CFG_ENABLE_NOISE_CANCEL 

Use noise cancel function.

Definition at line 163 of file R_BSP_SsifDef.h.

SSICR:SPDP(Serial padding polarity)

Enumerator:
SSIF_CFG_PADDING_LOW 

Padding bits are low.

SSIF_CFG_PADDING_HIGH 

Padding bits are high.

Definition at line 116 of file R_BSP_SsifDef.h.

SSICR:PDTA(Parallel data alignment)

Enumerator:
SSIF_CFG_LEFT 

Left aligned.

SSIF_CFG_RIGHT 

Right aligned.

Definition at line 130 of file R_BSP_SsifDef.h.

SSICR:SDTA(Serial data alignment)

Enumerator:
SSIF_CFG_DATA_FIRST 

Data first.

SSIF_CFG_PADDING_FIRST 

Padding bits first.

Definition at line 123 of file R_BSP_SsifDef.h.

SSICR:SWL(System word length)

Enumerator:
SSIF_CFG_SYSTEM_WORD_8 

System word length 8.

SSIF_CFG_SYSTEM_WORD_16 

System word length 16.

SSIF_CFG_SYSTEM_WORD_24 

System word length 24.

SSIF_CFG_SYSTEM_WORD_32 

System word length 32.

SSIF_CFG_SYSTEM_WORD_48 

System word length 48.

SSIF_CFG_SYSTEM_WORD_64 

System word length 64.

SSIF_CFG_SYSTEM_WORD_128 

System word length 128.

SSIF_CFG_SYSTEM_WORD_256 

System word length 256.

Definition at line 89 of file R_BSP_SsifDef.h.

SSITDMR:TDM(TDM mode)

Enumerator:
SSIF_CFG_DISABLE_TDM 

not TDM mode

SSIF_CFG_ENABLE_TDM 

set TDM mode

Definition at line 171 of file R_BSP_SsifDef.h.

SSICR:DEL(Serial data delay)

Enumerator:
SSIF_CFG_DELAY 

1 clock delay

SSIF_CFG_NO_DELAY 

No delay.

Definition at line 137 of file R_BSP_SsifDef.h.

SSICR:SWSP(Word select polarity)

Enumerator:
SSIF_CFG_WS_LOW 

Low for ther 1st channel(not TDM)

SSIF_CFG_WS_HIGH 

High for the 1st channel(not TDM)

Definition at line 109 of file R_BSP_SsifDef.h.