# Drivers description and usage

To develop software for your car, we provide dedicated drivers for all the components listed. These drivers, located in the **`include`** and **`src`** folders, are built on top of the [Autosar ](https://en.wikipedia.org/wiki/AUTOSAR)Real-Time drivers, which can be found in the **`RTD`** folder. In this section, we will explain the car driver API in detail, including how to use and test each driver.

## Testing the car

Most drivers have a test function you can use to ensure everything is connected and working properly. You can find the test functions in the **main\_functions.c** file. After you validated everything, remove these functions from your code as they never return to main.

Note: Some test functions, like the Linear camera test, require a display.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nxp.gitbook.io/nxp-cup/2024-fall-2025-nxp-cup-bare-metal-drivers/drivers-description-and-usage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
