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

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

Fork of R_BSP by Daiki Kato

Embed: (wiki syntax)

« Back to documentation index

scux_if.h File Reference

scux_if.h File Reference

SCUX Driver IOIF API header. More...

Go to the source code of this file.

Enumerations

enum  scux_ch_num_t {
  SCUX_CH_0 = 0, SCUX_CH_1 = 1, SCUX_CH_2 = 2, SCUX_CH_3 = 3,
  SCUX_CH_NUM = 4
}
enum  scux_use_channel_t {
  SCUX_USE_CH_1 = 1, SCUX_USE_CH_2 = 2, SCUX_USE_CH_4 = 4, SCUX_USE_CH_6 = 6,
  SCUX_USE_CH_8 = 8
}
enum  scux_data_word_len_t {
  SCUX_DATA_LEN_MIN = (-1), SCUX_DATA_LEN_24 = 0, SCUX_DATA_LEN_16 = 1, SCUX_DATA_LEN_16_TO_24 = 2,
  SCUX_DATA_LEN_MAX = 3
}

Functions

RBSP_MBED_FNS * R_SCUX_MakeCbTbl_mbed (void)
 Function Name: R_SCUX_MakeCbTbl_mbed.
IOIF_DRV_API * R_SCUX_MakeCbTbl (void)
 Function Name: R_SCUX_MakeCbTbl.
uint16_t R_SCUX_GetVersion (void)
 Function Name: R_SCUX_GetVersion.

Detailed Description

SCUX Driver IOIF API header.

Rev:
1032
Date:
2014-08-06 09:04:50 +0900#

Definition in file scux_if.h.


Enumeration Type Documentation

Enumerator:
SCUX_CH_0 

Specifies SCUX0.

SCUX_CH_1 

Specifies SCUX1.

SCUX_CH_2 

Specifies SCUX2.

SCUX_CH_3 

Specifies SCUX3.

SCUX_CH_NUM 

Number of SCUX channels.

Definition at line 61 of file scux_if.h.

Enumerator:
SCUX_DATA_LEN_MIN 

For data word length identification [unsettable].

SCUX_DATA_LEN_24 

Runs with a data word length of 24 bits.

SCUX_DATA_LEN_16 

Runs with a data word length of 16 bits.

SCUX_DATA_LEN_16_TO_24 

Outputs 16-bit data in 24-bit mode.

SCUX_DATA_LEN_MAX 

For data word length identification [unsettable].

Definition at line 148 of file scux_if.h.

Enumerator:
SCUX_USE_CH_1 

used audio channel number is 1

SCUX_USE_CH_2 

used audio channel number is 2

SCUX_USE_CH_4 

used audio channel number is 4

SCUX_USE_CH_6 

used audio channel number is 6

SCUX_USE_CH_8 

used audio channel number is 8

Definition at line 120 of file scux_if.h.


Function Documentation

uint16_t R_SCUX_GetVersion ( void   )

Function Name: R_SCUX_GetVersion.

Get SCUX driver version.

Description:

Parameters:
none
Return values:
driverversion - upper 8bit=MAJOR lower 8bit=MINOR

Definition at line 62 of file scux_ver.c.

IOIF_DRV_API* R_SCUX_MakeCbTbl ( void   )

Function Name: R_SCUX_MakeCbTbl.

Returns the SCUX driver callback function table.

Description:

Parameters:
none
Return values:
pointerof sample driver callback table

Definition at line 134 of file scux_if.c.

RBSP_MBED_FNS* R_SCUX_MakeCbTbl_mbed ( void   )

Function Name: R_SCUX_MakeCbTbl_mbed.

Returns the SCUX driver callback function table.

Description:

Parameters:
none
Return values:
pointerof sample driver callback table

Definition at line 103 of file scux_if.c.