|
PER Firmware
|
"Dashboard" node source code More...
#include "can_library/faults_common.h"#include "can_library/generated/DASHBOARD.h"#include "common/common_defs/common_defs.h"#include "common/freertos/freertos.h"#include "common/heartbeat/heartbeat.h"#include "common/phal/adc.h"#include "common/phal/can.h"#include "common/phal/dma.h"#include "common/phal/gpio.h"#include "common/phal/rcc.h"#include "common/phal/usart.h"#include "common/strbuf/strbuf.h"#include "common/utils/countof.h"#include "common/watchdog/watchdog.h"#include "driver_interface.h"#include "lcd.h"#include "main.h"#include "pedals.h"#include "telemetry.h"Functions | |
| void | sweep_external_leds () |
| void | service_start_button () |
| void | HardFault_Handler () |
| void | calibrate_LWS () |
| DEFINE_CAN_TASKS () | |
| DEFINE_TASK (pedals_periodic, PEDALS_PERIOD_MS, osPriorityHigh, STACK_1024) | |
| DEFINE_TASK (fault_library_periodic, DASHBOARD_FAULT_SYNC_PERIOD_MS, osPriorityNormal, STACK_1024) | |
| DEFINE_TASK (driver_interface_periodic, DRIVER_INTERFACE_PERIOD_MS, osPriorityLow, STACK_1024) | |
| DEFINE_TASK (report_telemetry_02hz, TELEMETRY_02HZ_PERIOD_MS, osPriorityLow, STACK_512) | |
| DEFINE_WATCHDOG_TASK () | |
| DEFINE_HEARTBEAT_TASK (sweep_external_leds) | |
| int | main (void) |
Variables | |
| GPIOInitConfig_t | gpio_config [] |
| ADCInitConfig_t | adc_config |
| ADCChannelConfig_t | adc_channel_config [] |
| volatile raw_adc_values_t | raw_adc_values |
| dma_init_t | adc_dma_config |
| dma_init_t | usart_tx_dma_config = USART1_TXDMA_CONT_CONFIG(NULL, 1) |
| dma_init_t | usart_rx_dma_config = USART1_RXDMA_CONT_CONFIG(NULL, 2) |
| usart_init_t | lcd |
| ClockRateConfig_t | clock_config |
| uint32_t | APB1ClockRateHz |
| uint32_t | APB2ClockRateHz |
| uint32_t | AHBClockRateHz |
| uint32_t | PLLClockRateHz |
"Dashboard" node source code
| ADCChannelConfig_t adc_channel_config[] |
| ADCInitConfig_t adc_config |
| dma_init_t adc_dma_config |
| ClockRateConfig_t clock_config |
| usart_init_t lcd |