|
| device_err_t | P2PComms_SingleUpdateRequest_Blocking (p2p_msg_type_t type, uint8_t index, data_union_t value) |
| | Update a parameter in control.
|
| |
| bool | P2PComms_IsParameterValid (data_param_info_t *_paramInfo) |
| | Validates that the parameter is valid.
|
| |
| device_err_t | P2PComms_GetValue (data_param_info_t *_paramInfo, data_union_t *value) |
| | Get value of a parameter shared in both cores.
|
| |
| device_err_t | P2PComms_UpdateValue (data_param_info_t *_paramInfo, data_union_t value) |
| | Update value of a parameter shared in both cores.
|
| |
| device_err_t | P2PComms_UpdateFromString (data_param_info_t *_paramInfo, const char *value) |
| | Update the value of a parameter (shared between both processors) from a string value.
|
| |
| device_err_t | P2PComms_GetStringValue (data_param_info_t *_paramInfo, char *value, bool addUnit) |
| | Get the value of a parameter (shared between both processors) in string format.
|
| |
| device_err_t | P2PComms_UpdateBool (uint8_t index, bool value) |
| | Update a boolean parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateU8 (uint8_t index, uint8_t value) |
| | Update a uint8_t parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateU16 (uint8_t index, uint16_t value) |
| | Update a uint16_t parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateU32 (uint8_t index, uint32_t value) |
| | Update a uint32_t parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateS8 (uint8_t index, int8_t value) |
| | Update a int8_t parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateS16 (uint8_t index, int16_t value) |
| | Update a int16_t parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateS32 (uint8_t index, int32_t value) |
| | Update a int32_t parameter share in both cores.
|
| |
| device_err_t | P2PComms_UpdateFloat (uint8_t index, float value) |
| | Update a single-precision floating parameter share in both cores.
|
| |
| device_err_t | P2PComms_SetBits (uint8_t index, uint8_t value) |
| | Set bits in bit accessible registers shared in both cores.
|
| |
| device_err_t | P2PComms_ClearBits (uint8_t index, uint8_t value) |
| | Clear bits in bit accessible registers shared in both cores.
|
| |
| device_err_t | P2PComms_ToggleBits (uint8_t index, uint8_t value) |
| | Toggle bits in bit accessible registers shared in both cores.
|
| |
| void | P2PComms_ProcessPendingRequests (void) |
| | Process the pending request for interprocessor communications.
|
| |
|
void | P2PComms_InitData (void) |
| | Initialize the buffers and storage for the interprocessor communications.
|
| |
| bool | P2PComms_IsStateStorageUpdateNeeded (p2p_data_buffs_t *dest, p2p_data_buffs_t *src) |
| | Check if the flash needs to be updated.
|
| |
| void | P2PComms_UpdateStorableStates (p2p_data_buffs_t *dest, p2p_data_buffs_t *src) |
| | Update all store-able states from source to destination.
|
| |
| void | P2PComms_InitStatesFromStorage (uint32_t *data, bool isDataValid) |
| | Initialize the states from the flash storage.
|
| |
| uint32_t | P2PComms_RefreshStates (uint32_t *data, uint32_t *indexPtr) |
| | This function updates the state storage if needed. Call it periodically.
|
| |
| void | P2PComms_ConfigStorage (state_storage_client_t *_config) |
| | Configures the storage client information.
|
| |