... | ... | @@ -11,6 +11,28 @@ The library is based around a core connecting different modules, that can also b |
|
|
|
|
|
# Library core and setup (HDU.h)
|
|
|
|
|
|
It's the task of the library core to include all modules and set the up with proper values for the NXP Cup car models.
|
|
|
|
|
|
## Methods
|
|
|
### HDU_init()
|
|
|
sets up configured pinout and initializes all submodules. This method also gives messages of the init proces via Debugger UART and Bluetooth.
|
|
|
|
|
|
### HDU_startup()
|
|
|
starts all peripherial aspects configured in the MCU Config .mex file. It only needs to be called, when just single modules are in use as it is already included in the HDU_init().
|
|
|
|
|
|
## Initialization Examples
|
|
|
### Init complete HDU library
|
|
|
|
|
|
<code>
|
|
|
HDU_init();
|
|
|
</code>
|
|
|
|
|
|
## Init only HMI module
|
|
|
<code>
|
|
|
HDU_startup();
|
|
|
HDU_HMI_init();
|
|
|
</code>
|
|
|
|
|
|
# Modules
|
|
|
|
|
|
## ADC0 evaluation (HDU_ADC0.h)
|
... | ... | |