Lcd companion boards support (VKLCD50RTA & VKLCD70RT)
scux_if.c File Reference
SCUX Driver interface functions. More...
Go to the source code of this file.
Functions | |
static void * | R_SCUX_InitOne (const int_t channel, const void *const p_config_data, int32_t *const p_errno) |
Function Name: R_SCUX_InitOne. | |
static int_t | R_SCUX_UnInitOne (const int_t channel, const void *const p_driver_instance, int32_t *const p_errno) |
Function Name: R_SCUX_UnInitOne. | |
static void * | R_SCUX_Init (void *p_config_data, int32_t *const p_errno) |
Function Name: R_SCUX_Init. | |
static int_t | R_SCUX_UnInit (void *p_driver_instance, int32_t *const p_errno) |
Function Name: R_SCUX_UnInit. | |
static int_t | R_SCUX_Open (void *const p_driver_instance, const char_t *p_path_name, const int_t flags, int_t mode, int32_t *const p_errno) |
Function Name: R_SCUX_Open. | |
static int_t | R_SCUX_Close (void *const p_fd, int32_t *const p_errno) |
Function Name: R_SCUX_Close. | |
static int_t | R_SCUX_Ioctl (void *const p_fd, const int_t request, void *const p_buf, int32_t *const p_errno) |
Function Name: R_SCUX_Ioctl. | |
static int_t | R_SCUX_WriteAsync (void *const p_fd, AIOCB *const p_aio, int32_t *const p_errno) |
Function Name: R_SCUX_WriteAsync. | |
static int_t | R_SCUX_ReadAsync (void *const p_fd, AIOCB *const p_aio, int32_t *const p_errno) |
Function Name: R_SCUX_ReadAsync. | |
static int_t | R_SCUX_Cancel (void *const p_fd, AIOCB *const p_aio, int32_t *const p_errno) |
Function Name: R_SCUX_Cancel. | |
static void | SCUX_SetErrCode (int_t error_code, int32_t *const p_errno) |
Function Name: SCUX_SetErrCode. | |
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. |
Detailed Description
SCUX Driver interface functions.
- Rev:
- 1674
- Date:
- 2015-05-29 16:35:57 +0900#
Definition in file scux_if.c.
Function Documentation
static int_t R_SCUX_Cancel | ( | void *const | p_fd, |
AIOCB *const | p_aio, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_Cancel.
Request cancel.
Description:
- Parameters:
-
[in] p_fd :channel handle which was returned by R_SCUX_open [in] p_aio :aio control block. [in,out] p_errno:pointer of error code error code - EFAULT : Internal error is occured.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
static int_t R_SCUX_Close | ( | void *const | p_fd, |
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_Close.
Close SCUX Channel.
Description:
- Parameters:
-
[in] p_fd:which was returned by R_SCUX_Init() [in,out] p_errno:pointer of error code error code - EFAULT : Internal error is occured.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
static void * R_SCUX_Init | ( | void * | p_config_data, |
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_Init.
Init SCUX driver.
Description:
- Parameters:
-
[in] p_config_data :pointer of several parameters array per channels [in,out] p_errno :pointer of error code error code - ENOMEM : Making semaphore failed. EBUSY : SCUX driver has been initialized already. EFAULT : p_config_data is NULL. EFAULT : Internal error is occured.
- Return values:
-
other than (-1) Operation successful. EERROR - Error occured.
static void * R_SCUX_InitOne | ( | const int_t | channel, |
const void *const | p_config_data, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_InitOne.
Init SCUX driver.
Description:
- Parameters:
-
[in] channel :Initialize channel number. [in] p_config_data :pointer of several parameters array per channels [in,out] p_errno :pointer of error code error code - ENOMEM : Making semaphore failed. EBUSY : SCUX driver has been initialized already. EFAULT : p_config_data is NULL. EFAULT : Internal error is occured.
- Return values:
-
other than (-1) Operation successful. EERROR - Error occured.
static int_t R_SCUX_Ioctl | ( | void *const | p_fd, |
const int_t | request, | ||
void *const | p_buf, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_Ioctl.
SCUX driver IOCTL function.
Description:
- Parameters:
-
[in] p_fd,: pointer of SCUX handler [in] request:IOCTL request code [in] p_buf :Data buffer for IOCTL request code. [in,out] p_errno:pointer of error code error code - EINVAL : IOCTL request code is unexpected value. EFAULT : Internal error is occured. other value : The value depending on IOCTL request code. Refer to the function of scux_ioctl.c for those meanings.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
IOIF_DRV_API* R_SCUX_MakeCbTbl | ( | void | ) |
RBSP_MBED_FNS* R_SCUX_MakeCbTbl_mbed | ( | void | ) |
static int_t R_SCUX_Open | ( | void *const | p_driver_instance, |
const char_t * | p_path_name, | ||
const int_t | flags, | ||
int_t | mode, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_Open.
Open SCUX Channel.
Description:
- Parameters:
-
[in] p_driver_instance:which was returned by R_SCUX_Init() [in] p_path_name :device Name [in] flags :specifies the access mode whether the channel is opened for a read or a write [in] mode :specifies the permissions to use in case a new file is created (not used for serial family driver) [in,out] p_errno :pointer of error code error code - ENOMEM : Craeaton of IOIF queue is failed. ENOENT : Pathname is incorrect length. ENOENT : Channel information is NULL. EACCES : Setting to flag is other than O_WONLY or O_RDWR EMFILE : Allocation of write DMA channel is failed. ENOTSUP : Channel is not support. EFAULT : Internal error is occured.
- Return values:
-
Except ERROR - Operation successful. EERROR - Error occured.
static int_t R_SCUX_ReadAsync | ( | void *const | p_fd, |
AIOCB *const | p_aio, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_ReadAsync.
SCUX driver asynchronous read.
Description:
- Parameters:
-
[in] p_fd :channel handle which was returned by R_SCUX_open [in] p_aio :aio control block. [in,out] p_errno:pointer of error code error code - EBADF : Channel status isn't SCUX_CH_STOP or SCUX_CH_STOP_WAIT. EINVAL : read size is 0. EACCES : Request for write only mode channel. EACCES : Route setting is unexpected. EFAULT : Internal error is occured.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
static int_t R_SCUX_UnInit | ( | void * | p_driver_instance, |
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_UnInit.
Uninit SCUX driver.
Description:
- Parameters:
-
[in] p_driver_instance :which was returned by R_SCUX_Init [in,out] p_errno :pointer of error code error code - EBADF : Driver status isn't SCUX_DRV_INIT.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
static int_t R_SCUX_UnInitOne | ( | const int_t | channel, |
const void *const | p_driver_instance, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_UnInitOne.
Uninit SCUX driver.
Description:
- Parameters:
-
[in] channel :Uninitialize channel number. [in] p_driver_instance :which was returned by R_SCUX_Init [in,out] p_errno :pointer of error code error code - EBADF : Driver status isn't SCUX_DRV_INIT.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
static int_t R_SCUX_WriteAsync | ( | void *const | p_fd, |
AIOCB *const | p_aio, | ||
int32_t *const | p_errno | ||
) | [static] |
Function Name: R_SCUX_WriteAsync.
SCUX driver asynchronous write.
Description:
- Parameters:
-
[in] p_fd :channel handle which was returned by R_SCUX_Open [in] p_aio :aio control block. [in,out] p_errno:pointer of error code error code - EBADF : Channel status isn't SCUX_CH_STOP or SCUX_CH_STOP_WAIT. EINVAL : p_fd is NULL. EINVAL : write size is 0. EFAULT : Internal error is occured.
- Return values:
-
ESUCCESS - Operation successful. EERROR - Error occured.
static void SCUX_SetErrCode | ( | int_t | error_code, |
int32_t *const | p_errno | ||
) | [static] |
Generated on Tue Jul 12 2022 14:32:57 by 1.7.2