Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: GR-PEACH_Azure_Speech ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample ... more
Fork of R_BSP by
R_BSP_Aio Class Reference
A class to communicate a R_BSP_Aio. More...
#include <R_BSP_Aio.h>
Inherited by R_BSP_SerialFamily.
Public Member Functions | |
| int32_t | write (void *const p_data, uint32_t data_size, const rbsp_data_conf_t *const p_data_conf=NULL) |
| Write count bytes to the file associated. | |
| int32_t | read (void *const p_data, uint32_t data_size, const rbsp_data_conf_t *const p_data_conf=NULL) |
| Read count bytes to the file associated. | |
Protected Member Functions | |
| R_BSP_Aio () | |
| Constructor. | |
| virtual | ~R_BSP_Aio () |
| Destructor. | |
| void | write_init (void *handle, void *p_func_a, int32_t max_buff_num=16) |
| Write init. | |
| void | read_init (void *handle, void *p_func_a, int32_t max_buff_num=16) |
| Read init. | |
Detailed Description
A class to communicate a R_BSP_Aio.
Definition at line 51 of file R_BSP_Aio.h.
Constructor & Destructor Documentation
| R_BSP_Aio | ( | ) | [protected] |
Constructor.
Definition at line 33 of file R_BSP_Aio.cpp.
| ~R_BSP_Aio | ( | ) | [protected, virtual] |
Destructor.
Definition at line 36 of file R_BSP_Aio.cpp.
Member Function Documentation
| int32_t read | ( | void *const | p_data, |
| uint32_t | data_size, | ||
| const rbsp_data_conf_t *const | p_data_conf = NULL |
||
| ) |
Read count bytes to the file associated.
- Parameters:
-
p_data Location of the data. data_size Number of bytes to read. p_data_conf Asynchronous control block structure.
- Returns:
- Number of bytes read on success. negative number on error.
Definition at line 72 of file R_BSP_Aio.cpp.
| void read_init | ( | void * | handle, |
| void * | p_func_a, | ||
| int32_t | max_buff_num = 16 |
||
| ) | [protected] |
Read init.
- Parameters:
-
handle channel handle. p_func_a Pointer of read function. max_buff_num The upper limit of read buffer.
Definition at line 101 of file R_BSP_Aio.h.
| int32_t write | ( | void *const | p_data, |
| uint32_t | data_size, | ||
| const rbsp_data_conf_t *const | p_data_conf = NULL |
||
| ) |
Write count bytes to the file associated.
- Parameters:
-
p_data Location of the data. data_size Number of bytes to write. p_data_conf Asynchronous control block structure.
- Returns:
- Number of bytes written on success. negative number on error.
Definition at line 64 of file R_BSP_Aio.cpp.
| void write_init | ( | void * | handle, |
| void * | p_func_a, | ||
| int32_t | max_buff_num = 16 |
||
| ) | [protected] |
Write init.
- Parameters:
-
handle channel handle. p_func_a Pointer of write function. max_buff_num The upper limit of write buffer.
Definition at line 91 of file R_BSP_Aio.h.
Generated on Tue Jul 12 2022 20:43:59 by
1.7.2
