Fenice BMS HV
1.0.0
Software
Fenice BMS HV
»
Software
»
Function error_init_error(error_t *, error_id, uint8_t, uint32_t)
View page source
Function error_init_error(error_t *, error_id, uint8_t, uint32_t)
¶
Defined in
File error.c
Function Documentation
¶
void
error_init_error
(
error_t
*
error
, error_id
id
, uint8_t
offset
, uint32_t
timestamp
)
¶
Initializes an error structure.
Parameters
error
: The error structure to initialize
id
: The error id
offset
: The offset (index) of the error in error_data
timestamp
: The timestamp at which the error occurred