RA Flexible Software Package Documentation
Release v5.6.0
|
|
Interface for FSXXXX Middleware functions.
The FSXXXX interface provides FSXXXX functionality.
Data Structures | |
struct | rm_fsxxxx_callback_args_t |
struct | rm_fsxxxx_raw_data_t |
struct | rm_fsxxxx_sensor_data_t |
struct | rm_fsxxxx_data_t |
struct | rm_fsxxxx_cfg_t |
struct | rm_fsxxxx_api_t |
struct | rm_fsxxxx_instance_t |
Typedefs | |
typedef void | rm_fsxxxx_ctrl_t |
Enumerations | |
enum | rm_fsxxxx_event_t |
struct rm_fsxxxx_callback_args_t |
FSXXXX callback parameter definition
struct rm_fsxxxx_raw_data_t |
FSXXXX raw data
struct rm_fsxxxx_sensor_data_t |
struct rm_fsxxxx_data_t |
FSXXXX data block
struct rm_fsxxxx_cfg_t |
FSXXXX Configuration
Data Fields | |
rm_comms_instance_t const * | p_instance |
Pointer to Communications Middleware instance. | |
void const * | p_context |
Pointer to the user-provided context. | |
void const * | p_extend |
Pointer to extended configuration by instance of interface. | |
void(* | p_callback )(rm_fsxxxx_callback_args_t *p_args) |
Pointer to callback function. | |
struct rm_fsxxxx_api_t |
FSXXXX APIs
Data Fields | |
fsp_err_t(* | open )(rm_fsxxxx_ctrl_t *const p_ctrl, rm_fsxxxx_cfg_t const *const p_cfg) |
fsp_err_t(* | read )(rm_fsxxxx_ctrl_t *const p_ctrl, rm_fsxxxx_raw_data_t *const p_raw_data) |
fsp_err_t(* | dataCalculate )(rm_fsxxxx_ctrl_t *const p_ctrl, rm_fsxxxx_raw_data_t *const p_raw_data, rm_fsxxxx_data_t *const p_fsxxxx_data) |
fsp_err_t(* | close )(rm_fsxxxx_ctrl_t *const p_ctrl) |
fsp_err_t(* rm_fsxxxx_api_t::open) (rm_fsxxxx_ctrl_t *const p_ctrl, rm_fsxxxx_cfg_t const *const p_cfg) |
Open sensor.
[in] | p_ctrl | Pointer to control structure. |
[in] | p_cfg | Pointer to configuration structure. |
fsp_err_t(* rm_fsxxxx_api_t::read) (rm_fsxxxx_ctrl_t *const p_ctrl, rm_fsxxxx_raw_data_t *const p_raw_data) |
Read ADC data from FSXXXX.
[in] | p_ctrl | Pointer to control structure. |
[in] | p_raw_data | Pointer to raw data structure. |
fsp_err_t(* rm_fsxxxx_api_t::dataCalculate) (rm_fsxxxx_ctrl_t *const p_ctrl, rm_fsxxxx_raw_data_t *const p_raw_data, rm_fsxxxx_data_t *const p_fsxxxx_data) |
Calculate flow values from ADC data.
[in] | p_ctrl | Pointer to control structure. |
[in] | p_raw_data | Pointer to raw data. |
[in] | p_fsxxxx_data | Pointer to FSXXXX data structure. |
fsp_err_t(* rm_fsxxxx_api_t::close) (rm_fsxxxx_ctrl_t *const p_ctrl) |
Close FSXXXX.
[in] | p_ctrl | Pointer to control structure. |
struct rm_fsxxxx_instance_t |
FSXXXX instance
Data Fields | ||
---|---|---|
rm_fsxxxx_ctrl_t * | p_ctrl |
Pointer to the control structure for this instance |
rm_fsxxxx_cfg_t const * | p_cfg |
Pointer to the configuration structure for this instance |
rm_fsxxxx_api_t const * | p_api |
Pointer to the API structure for this instance |
typedef void rm_fsxxxx_ctrl_t |
FSXXXX control block. Allocate an instance specific control block to pass into the FSXXXX API calls.
enum rm_fsxxxx_event_t |
Event in the callback function