|
HRI board firmware
v2.1
Microcontroller firmware of the board used during the HRI labs.
|
#include "utils.h"Functions | |
| void | utils_TrapCpu (void) |
| Endless loop function to stop the execution of the program here. More... | |
| void | utils_DelayUs (uint32_t duration) |
| "Busy wait" delay function More... | |
| void | utils_DelayMs (uint32_t duration) |
| "Busy wait" delay function More... | |
| void | utils_SaturateF (float32_t *val, float32_t min, float32_t max) |
| Saturate a float number between two bounds. More... | |
| void | utils_SaturateU (uint32_t *val, uint32_t min, uint32_t max) |
| Saturate an integer number between two bounds. More... | |
| float32_t | utils_Mean (float32_t *array, int size) |
| Compute the mean of the array values. More... | |
1.8.13