|
PER Firmware
|
#include "f4_testing.h"#include "can_library/generated/PDU.h"#include "common/phal_F4/adc/adc.h"#include "common/phal_F4/can/can.h"#include "common/phal_F4/dma/dma.h"#include "common/phal_F4/gpio/gpio.h"#include "common/phal_F4/rcc/rcc.h"#include "common/rtos/rtos.h"#include "common/utils/countof.h"Macros | |
| #define | TargetCoreClockrateHz 16'000'000 |
Functions | |
| void | HardFault_Handler () |
| void | send_periodic () |
| DEFINE_CAN_TASKS () | |
| RTOS_DEFINE_TASK (send_periodic, 100, TASK_PRIORITY_NORMAL, 1024) | |
| int | main () |
| void | cooling_driver_request_CALLBACK () |
Variables | |
| GPIOInitConfig_t | gpio_config [] |
| ClockRateConfig_t | clock_config |
| uint32_t | APB1ClockRateHz |
| uint32_t | APB2ClockRateHz |
| uint32_t | AHBClockRateHz |
| uint32_t | PLLClockRateHz |
| #define TargetCoreClockrateHz 16'000'000 |
| void cooling_driver_request_CALLBACK | ( | ) |
| DEFINE_CAN_TASKS | ( | ) |
| void HardFault_Handler | ( | void | ) |
| int main | ( | void | ) |
| RTOS_DEFINE_TASK | ( | send_periodic | , |
| 100 | , | ||
| TASK_PRIORITY_NORMAL | , | ||
| 1024 | ) |
| void send_periodic | ( | ) |
|
extern |
|
extern |
|
extern |
| ClockRateConfig_t clock_config |
| GPIOInitConfig_t gpio_config[] |
|
extern |