|
status_t | SCI_CMD_Init (void) |
| Initialize the serial commands module.
|
|
status_t | SCI_Init (void) |
| Initialize the SCI module.
|
|
void | SCI_SetRxCommandCallback (sci_rx_cmd_cb_t cb) |
| Installs a callback routine for command received event.
|
|
void | SCI_RemoveRxCommandCallback (void) |
| Removes the previously installed callback function.
|
|
void | SCI_SetErrorCallback (sci_error_cb_t cb) |
| Installs a callback routine for the error event.
|
|
void | SCI_RemoveErrorCallback (void) |
| Removes the previously installed callback function.
|
|
status_t | SCI_SetRxCommand (sci_cmd_t cmd, sci_rx_cmd_fct_t rxfct) |
| Sets a Rx command function in the list of available commands.
|
|
status_t | SCI_SetPostRxCommand (sci_cmd_t cmd, sci_rx_cmd_fct_t rxfct, sci_rx_cmd_fct_t pfct) |
| Sets Rx and post Rx command functions in the list of available commands.
|
|
status_t | SCI_SetTxCommand (sci_cmd_t cmd, sci_tx_cmd_fct_t txfct) |
| Sets a Tx command function in the list of available commands.
|
|
status_t | SCI_SetRxTxCommand (sci_cmd_t cmd, sci_rx_cmd_fct_t rxfct, sci_tx_cmd_fct_t txfct) |
| Sets the Rx and Tx command functions in the list of available commands.
|
|
status_t | SCI_SetCommand (sci_cmd_t cmd, sci_rx_cmd_fct_t rxfct, sci_tx_cmd_fct_t txfct, sci_rx_cmd_fct_t pfct) |
| Sets the Rx and Tx command functions in the list of available commands.
|
|
status_t | SCI_UnsetCommand (sci_cmd_t cmd) |
| Unsets a command from the list of available commands.
|
|
status_t | SCI_InvokeRxCommand (sci_frame_t *frame) |
| Invokes the previously received user command.
|
|
status_t | SCI_SendCommand (sci_device_t deviceID, sci_cmd_t cmd, sci_param_t param, sci_data_t data) |
| Sends a command via the SCI module.
|
|
This file is part of the AFBR-S50 Explorer Application.
This file implements the API of the systems communication interface.
- Copyright
Copyright (c) 2023, Broadcom Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.