Description

A Service for interfacing with the SPI Flash Memory Module.

Function Specifications

Function Name Functional Specification Timing Specification
spimem_init Parameters:
A pointer to a struct car object
A string buffer to write the name of the car onto

Returns: RES_OK if no errors. ERR_NULL if the pointer is NULL ERR_MEMCPY is there is a memory copy error ERR_BUFFER_INVALID if the string buffer is NULL or otherwise invalid | < 1ms | | run_car | Parameters:

| O(n) |

An overview of the system’s functions. What does the function do? Add details about parameters, return values, and potential errors (and their causes).

How long will your code take to execute? Try to incorporate as many Branches as possible. For relatively simple code, this can be approximated as 0 ms. If the code is expected to take more than 10 ms to execute, this section should be added.

Requirements

Link all the relevant

Dependencies

Libraries, Inputs from other Firmware systems, states/values from the parameter table, etc.

Add external L3 systems on which this chapter depends.

Dependents

Can be left empty

Add which depend on this Story.

Verification and Validation

Add Test plans here