SYMBOL INDEX (698 symbols across 83 files) FILE: src/firmware/app.c type assist_level_data_t (line 22) | typedef struct function app_init (line 85) | void app_init() function app_process (line 128) | void app_process() function app_set_assist_level (line 206) | void app_set_assist_level(uint8_t level) function app_set_lights (line 224) | void app_set_lights(bool on) function app_set_operation_mode (line 260) | void app_set_operation_mode(uint8_t mode) function app_set_wheel_max_speed_rpm (line 270) | void app_set_wheel_max_speed_rpm(uint16_t value) function app_get_assist_level (line 283) | uint8_t app_get_assist_level() function app_get_lights (line 288) | uint8_t app_get_lights() function app_get_status_code (line 293) | uint8_t app_get_status_code() function app_get_temperature (line 349) | uint8_t app_get_temperature() function apply_pretension (line 361) | void apply_pretension(uint8_t* target_current) function apply_pas_cadence (line 372) | void apply_pas_cadence(uint8_t* target_current, uint8_t throttle_percent) function apply_pas_torque (line 416) | void apply_pas_torque(uint8_t* target_current) function apply_cruise (line 467) | void apply_cruise(uint8_t* target_current, uint8_t throttle_percent) function apply_throttle (line 521) | bool apply_throttle(uint8_t* target_current, uint8_t throttle_percent) function apply_speed_limit (line 538) | bool apply_speed_limit(uint8_t* target_current, uint8_t throttle_percent... function apply_thermal_limit (line 626) | bool apply_thermal_limit(uint8_t* target_current) function apply_low_voltage_limit (line 686) | bool apply_low_voltage_limit(uint8_t* target_current) function apply_shift_sensor_interrupt (line 746) | bool apply_shift_sensor_interrupt(uint8_t* target_current) function apply_brake (line 820) | bool apply_brake(uint8_t* target_current) function apply_current_ramp_up (line 837) | void apply_current_ramp_up(uint8_t* target_current, bool enable) function apply_current_ramp_down (line 871) | void apply_current_ramp_down(uint8_t* target_current, bool enable) function check_power_block (line 916) | bool check_power_block() function block_power_for (line 933) | void block_power_for(uint16_t ms) function reload_assist_params (line 938) | void reload_assist_params() function convert_wheel_speed_kph_to_rpm (line 970) | uint16_t convert_wheel_speed_kph_to_rpm(uint8_t speed_kph) FILE: src/firmware/battery.c function compute_battery_percent (line 49) | static uint8_t compute_battery_percent() function map_percent_sw102 (line 58) | static uint8_t map_percent_sw102(uint8_t percent) function battery_init (line 97) | void battery_init() function battery_process (line 117) | void battery_process() function battery_get_percent (line 147) | uint8_t battery_get_percent() function battery_get_mapped_percent (line 152) | uint8_t battery_get_mapped_percent() FILE: src/firmware/bbsx/adc.c function adc_init (line 22) | void adc_init() function adc_process (line 71) | void adc_process() function adc_get_throttle (line 130) | uint8_t adc_get_throttle() function adc_get_torque (line 135) | uint16_t adc_get_torque() function adc_get_temperature_contr (line 140) | uint16_t adc_get_temperature_contr() function adc_get_temperature_motor (line 145) | uint16_t adc_get_temperature_motor() function adc_get_battery_voltage (line 150) | uint16_t adc_get_battery_voltage() FILE: src/firmware/bbsx/eeprom.c function eeprom_begin (line 35) | static void eeprom_begin(uint8_t cmd, int offset) function eeprom_trigger (line 45) | static bool eeprom_trigger() function eeprom_end (line 54) | static void eeprom_end() function eeprom_init (line 63) | void eeprom_init() function eeprom_select_page (line 77) | bool eeprom_select_page(int page) function eeprom_erase_page (line 88) | bool eeprom_erase_page() function eeprom_read_byte (line 99) | int eeprom_read_byte(int offset) function eeprom_write_byte (line 115) | bool eeprom_write_byte(int offset, uint8_t value) function eeprom_end_write (line 127) | bool eeprom_end_write() FILE: src/firmware/bbsx/lights.c function lights_init (line 14) | void lights_init() function lights_enable (line 23) | void lights_enable() function lights_disable (line 33) | void lights_disable() function lights_set (line 43) | void lights_set(bool on) FILE: src/firmware/bbsx/motor.c function motor_pre_init (line 96) | void motor_pre_init() function motor_init (line 107) | void motor_init(uint16_t max_current_mA, uint8_t lvc_V, int16_t adc_cali... function motor_process (line 151) | void motor_process() function motor_enable (line 161) | void motor_enable() function motor_disable (line 166) | void motor_disable() function motor_status (line 180) | uint16_t motor_status() function motor_get_target_speed (line 185) | uint8_t motor_get_target_speed() function motor_get_target_current (line 190) | uint8_t motor_get_target_current() function motor_set_target_speed (line 196) | void motor_set_target_speed(uint8_t percent) function motor_set_target_current (line 210) | void motor_set_target_current(uint8_t percent) function motor_calibrate_battery_voltage (line 224) | int16_t motor_calibrate_battery_voltage(uint16_t actual_voltage_x100) function motor_get_battery_lvc_x10 (line 247) | uint16_t motor_get_battery_lvc_x10() function motor_get_battery_current_x10 (line 252) | uint16_t motor_get_battery_current_x10() function motor_get_battery_voltage_x10 (line 257) | uint16_t motor_get_battery_voltage_x10() function compute_checksum (line 262) | static uint8_t compute_checksum(uint8_t* msg, uint8_t len) function send_request (line 273) | static void send_request(uint8_t opcode, uint16_t data) function send_request_async (line 283) | static void send_request_async(uint8_t opcode, uint16_t data) function read_response (line 309) | static int read_response(uint8_t opcode, uint16_t* out_data) function try_read_response (line 351) | static int try_read_response(uint8_t opcode, uint16_t* out_data) function connect (line 398) | static int connect() function configure (line 418) | static int configure(uint16_t max_current_mA, uint8_t lvc_V) function process_com_state_machine_idle (line 519) | static void process_com_state_machine_idle() function process_com_state_machine_wait_response (line 574) | static void process_com_state_machine_wait_response() function process_com_state_machine (line 617) | static void process_com_state_machine() FILE: src/firmware/bbsx/sensors.c type pt_t (line 41) | typedef struct { int32_t x; int16_t y; } pt_t; function thermistor_ntc_calculate_temperature (line 84) | static float thermistor_ntc_calculate_temperature(float R, float invBeta) function thermistor_ptc_bbshd_calculate_temperature (line 95) | static int16_t thermistor_ptc_bbshd_calculate_temperature(int32_t R_x100) function sensors_init (line 128) | void sensors_init() function sensors_process (line 159) | void sensors_process() function pas_set_stop_delay (line 164) | void pas_set_stop_delay(uint16_t delay_ms) function pas_get_cadence_rpm_x10 (line 169) | uint16_t pas_get_cadence_rpm_x10() function pas_get_pulse_counter (line 186) | uint16_t pas_get_pulse_counter() function pas_is_pedaling_forwards (line 196) | bool pas_is_pedaling_forwards() function pas_is_pedaling_backwards (line 209) | bool pas_is_pedaling_backwards() function speed_sensor_set_signals_per_rpm (line 221) | void speed_sensor_set_signals_per_rpm(uint8_t num_signals) function speed_sensor_is_moving (line 226) | bool speed_sensor_is_moving() function speed_sensor_get_rpm_x10 (line 236) | uint16_t speed_sensor_get_rpm_x10() function torque_sensor_get_nm_x100 (line 251) | uint16_t torque_sensor_get_nm_x100() function torque_sensor_ok (line 256) | bool torque_sensor_ok() function temperature_contr_x100 (line 262) | int16_t temperature_contr_x100() function temperature_motor_x100 (line 289) | int16_t temperature_motor_x100() function brake_is_activated (line 346) | bool brake_is_activated() function shift_sensor_is_activated (line 351) | bool shift_sensor_is_activated() function sensors_timer0_isr (line 359) | void sensors_timer0_isr() // runs every 100us, see timers.c FILE: src/firmware/bbsx/system.c function system_init (line 17) | void system_init() function system_ms (line 31) | uint32_t system_ms() function system_delay_ms (line 41) | void system_delay_ms(uint16_t ms) function system_timer0_isr (line 57) | void system_timer0_isr() FILE: src/firmware/bbsx/timers.c function timer0_init (line 17) | static void timer0_init() function timers_init (line 39) | void timers_init() function timer0_init_system (line 45) | void timer0_init_system() function timer0_init_sensors (line 51) | void timer0_init_sensors() function timer1_init_uart1 (line 57) | void timer1_init_uart1(uint32_t baudrate) function timer2_init_uart2 (line 70) | void timer2_init_uart2(uint32_t baudrate) FILE: src/firmware/bbsx/uart.c function uart_open (line 53) | void uart_open(uint32_t baudrate) function uart_motor_open (line 82) | void uart_motor_open(uint32_t baudrate) function uart_close (line 111) | void uart_close() function uart_motor_close (line 118) | void uart_motor_close() function uart_available (line 126) | uint8_t uart_available() function uart_motor_available (line 131) | uint8_t uart_motor_available() function uart_read (line 136) | uint8_t uart_read() function uart_motor_read (line 143) | uint8_t uart_motor_read() function uart_write (line 150) | void uart_write(uint8_t byte) function uart_motor_write (line 178) | void uart_motor_write(uint8_t byte) function uart_flush (line 205) | void uart_flush() function uart_motor_flush (line 210) | void uart_motor_flush() FILE: src/firmware/bbsx/watchdog.c function watchdog_init (line 14) | void watchdog_init() function watchdog_yeild (line 20) | void watchdog_yeild() function watchdog_triggered (line 25) | bool watchdog_triggered() FILE: src/firmware/cfgstore.c type header_t (line 35) | typedef struct function cfgstore_init (line 58) | void cfgstore_init() function cfgstore_reset_config (line 71) | bool cfgstore_reset_config() function cfgstore_save_config (line 83) | bool cfgstore_save_config() function cfgstore_reset_pstate (line 88) | bool cfgstore_reset_pstate() function cfgstore_save_pstate (line 94) | bool cfgstore_save_pstate() function read_config (line 99) | static bool read_config() function write_config (line 124) | static bool write_config() function load_default_config (line 145) | static void load_default_config() function read_pstate (line 219) | static bool read_pstate() function write_pstate (line 244) | static bool write_pstate() function load_default_pstate (line 266) | static void load_default_pstate() function read (line 272) | static uint8_t read(uint8_t page, uint8_t version, uint8_t* dst, uint8_t... function write (line 333) | static uint8_t write(uint8_t page, uint8_t version, uint8_t* src, uint8_... FILE: src/firmware/cfgstore.h type assist_level_t (line 61) | typedef struct type config_t (line 74) | typedef struct type pstate_t (line 130) | typedef struct FILE: src/firmware/eventlog.c function eventlog_init (line 14) | void eventlog_init(bool enabled) function eventlog_is_enabled (line 19) | bool eventlog_is_enabled() function eventlog_set_enabled (line 24) | void eventlog_set_enabled(bool enabled) function eventlog_write (line 29) | void eventlog_write(uint8_t evt) function eventlog_write_data (line 40) | void eventlog_write_data(uint8_t evt, int16_t data) FILE: src/firmware/extcom.c function extcom_init (line 122) | void extcom_init() function extcom_process (line 143) | void extcom_process() function compute_checksum (line 196) | static uint8_t compute_checksum(uint8_t* buf, uint8_t length) function write_uart_and_increment_checksum (line 208) | static void write_uart_and_increment_checksum(uint8_t data, uint8_t* che... function try_process_request (line 214) | static int16_t try_process_request() function try_process_read_request (line 236) | static int16_t try_process_read_request() function try_process_write_request (line 258) | static int16_t try_process_write_request() function try_process_bafang_read_request (line 280) | static int16_t try_process_bafang_read_request() function try_process_bafang_write_request (line 312) | static int16_t try_process_bafang_write_request() function process_read_fw_version (line 336) | static int16_t process_read_fw_version() function process_read_evtlog_enable (line 364) | static int16_t process_read_evtlog_enable() function process_read_config (line 388) | static int16_t process_read_config() function process_read_status (line 420) | static int16_t process_read_status() function process_write_evtlog_enable (line 426) | static int16_t process_write_evtlog_enable() function process_write_config (line 452) | static int16_t process_write_config() function process_write_reset_config (line 491) | static int16_t process_write_reset_config() function process_write_adc_voltage_calibration (line 518) | static int16_t process_write_adc_voltage_calibration() function process_bafang_display_read_status (line 552) | static int16_t process_bafang_display_read_status() function process_bafang_display_read_current (line 564) | static int16_t process_bafang_display_read_current() function process_bafang_display_read_battery (line 579) | static int16_t process_bafang_display_read_battery() function process_bafang_display_read_speed (line 594) | static int16_t process_bafang_display_read_speed() function process_bafang_display_read_unknown1 (line 645) | static int16_t process_bafang_display_read_unknown1() function process_bafang_display_read_range (line 659) | static int16_t process_bafang_display_read_range() function process_bafang_display_read_calories (line 706) | static int16_t process_bafang_display_read_calories() function process_bafang_display_read_unknown3 (line 725) | static int16_t process_bafang_display_read_unknown3() function process_bafang_display_read_moving (line 741) | static int16_t process_bafang_display_read_moving() function process_bafang_display_write_pas (line 756) | static int16_t process_bafang_display_write_pas() function process_bafang_display_write_mode (line 814) | static int16_t process_bafang_display_write_mode() function process_bafang_display_write_lights (line 845) | static int16_t process_bafang_display_write_lights() function process_bafang_display_write_speed_limit (line 869) | static int16_t process_bafang_display_write_speed_limit() FILE: src/firmware/main.c function main (line 29) | void main(void) FILE: src/firmware/throttle.c function throttle_init (line 48) | void throttle_init(uint16_t min_mv, uint16_t max_mv) function throttle_ok (line 58) | bool throttle_ok() function throttle_read (line 63) | uint8_t throttle_read() function throttle_map_response (line 143) | uint8_t throttle_map_response(uint8_t throttle_percent) FILE: src/firmware/tsdz2/adc.c function adc_init (line 26) | void adc_init() function adc_process (line 56) | void adc_process() function adc_get_throttle (line 67) | uint8_t adc_get_throttle() function adc_get_torque (line 73) | uint16_t adc_get_torque() function adc_get_temperature_contr (line 79) | uint16_t adc_get_temperature_contr() function adc_get_temperature_motor (line 84) | uint16_t adc_get_temperature_motor() function adc_get_battery_voltage (line 89) | uint16_t adc_get_battery_voltage() function isr_adc1 (line 94) | void isr_adc1(void) __interrupt(ITC_IRQ_ADC1) FILE: src/firmware/tsdz2/eeprom.c function eeprom_init (line 19) | void eeprom_init() function eeprom_select_page (line 24) | bool eeprom_select_page(int page) function eeprom_read_byte (line 35) | int eeprom_read_byte(int offset) function eeprom_erase_page (line 41) | bool eeprom_erase_page() function eeprom_write_byte (line 46) | bool eeprom_write_byte(int offset, uint8_t value) function eeprom_end_write (line 67) | bool eeprom_end_write() FILE: src/firmware/tsdz2/lights.c function lights_init (line 16) | void lights_init() function lights_enable (line 24) | void lights_enable() function lights_disable (line 30) | void lights_disable() function lights_set (line 36) | void lights_set(bool on) FILE: src/firmware/tsdz2/motor.c function flash_opt2_afr5 (line 196) | static void flash_opt2_afr5() function read_battery_voltage (line 231) | static void read_battery_voltage() function read_battery_current (line 241) | static void read_battery_current() function read_phase_current (line 249) | static void read_phase_current() function asin_table (line 257) | static uint8_t asin_table(uint8_t inverted_angle_x128) function compute_foc_angle (line 275) | static void compute_foc_angle() function motor_pre_init (line 346) | void motor_pre_init() function motor_init (line 367) | void motor_init(uint16_t max_current_mA, uint8_t lvc_V, int16_t adc_cali... function motor_process (line 391) | void motor_process() function motor_enable (line 400) | void motor_enable() function motor_disable (line 408) | void motor_disable() function motor_status (line 413) | uint16_t motor_status() function motor_get_target_speed (line 433) | uint8_t motor_get_target_speed() function motor_get_target_current (line 438) | uint8_t motor_get_target_current() function motor_set_target_speed (line 444) | void motor_set_target_speed(uint8_t percent) function motor_set_target_current (line 467) | void motor_set_target_current(uint8_t percent) function motor_calibrate_battery_voltage (line 483) | int16_t motor_calibrate_battery_voltage(uint16_t actual_voltage_x100) function motor_get_battery_lvc_x10 (line 506) | uint16_t motor_get_battery_lvc_x10() function motor_get_battery_current_x10 (line 511) | uint16_t motor_get_battery_current_x10() function motor_get_battery_voltage_x10 (line 516) | uint16_t motor_get_battery_voltage_x10() function isr_timer1_cmp (line 549) | void isr_timer1_cmp(void) __interrupt(ITC_IRQ_TIM1_CAPCOM) FILE: src/firmware/tsdz2/sensors.c function sensors_init (line 45) | void sensors_init() function sensors_process (line 72) | void sensors_process() function pas_set_stop_delay (line 78) | void pas_set_stop_delay(uint16_t delay_ms) function pas_get_cadence_rpm_x10 (line 83) | uint16_t pas_get_cadence_rpm_x10() function pas_get_pulse_counter (line 100) | uint16_t pas_get_pulse_counter() function pas_is_pedaling_forwards (line 110) | bool pas_is_pedaling_forwards() function pas_is_pedaling_backwards (line 123) | bool pas_is_pedaling_backwards() function speed_sensor_set_signals_per_rpm (line 135) | void speed_sensor_set_signals_per_rpm(uint8_t num_signals) function speed_sensor_is_moving (line 140) | bool speed_sensor_is_moving() function speed_sensor_get_rpm_x10 (line 150) | uint16_t speed_sensor_get_rpm_x10() function temperature_contr_x100 (line 166) | int16_t temperature_contr_x100() function temperature_motor_x100 (line 171) | int16_t temperature_motor_x100() function brake_is_activated (line 177) | bool brake_is_activated() function shift_sensor_is_activated (line 182) | bool shift_sensor_is_activated() function isr_timer4_ovf (line 188) | void isr_timer4_ovf(void) __interrupt(ITC_IRQ_TIM4_OVF) FILE: src/firmware/tsdz2/stm8s/stm8s.h type FlagStatus (line 219) | typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus, BitStatus, ... type FunctionalState (line 221) | typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState; type ErrorStatus (line 224) | typedef enum {ERROR = 0, SUCCESS = !ERROR} ErrorStatus; type GPIO_TypeDef (line 251) | typedef struct GPIO_struct type ADC1_TypeDef (line 284) | typedef struct ADC1_struct type ADC2_TypeDef (line 376) | typedef struct ADC2_struct type AWU_TypeDef (line 426) | typedef struct AWU_struct type BEEP_TypeDef (line 466) | typedef struct BEEP_struct type CLK_TypeDef (line 494) | typedef struct CLK_struct type TIM1_TypeDef (line 598) | typedef struct TIM1_struct type TIM2_TypeDef (line 810) | typedef struct TIM2_struct type TIM3_TypeDef (line 938) | typedef struct TIM3_struct type TIM4_TypeDef (line 1044) | typedef struct TIM4_struct type TIM5_TypeDef (line 1107) | typedef struct TIM5_struct type TIM6_TypeDef (line 1246) | typedef struct TIM6_struct type I2C_TypeDef (line 1314) | typedef struct I2C_struct type ITC_TypeDef (line 1421) | typedef struct ITC_struct type EXTI_TypeDef (line 1459) | typedef struct EXTI_struct type FLASH_TypeDef (line 1500) | typedef struct FLASH_struct type OPT_TypeDef (line 1570) | typedef struct OPT_struct type IWDG_TypeDef (line 1595) | typedef struct IWDG_struct type WWDG_TypeDef (line 1619) | typedef struct WWDG_struct type RST_TypeDef (line 1657) | typedef struct RST_struct type SPI_TypeDef (line 1682) | typedef struct SPI_struct type UART1_TypeDef (line 1753) | typedef struct UART1_struct type UART2_TypeDef (line 1851) | typedef struct UART2_struct type UART3_TypeDef (line 1958) | typedef struct UART3_struct type UART4_TypeDef (line 2050) | typedef struct UART4_struct type CAN_TypeDef (line 2160) | typedef struct type CFG_TypeDef (line 2508) | typedef struct CFG_struct FILE: src/firmware/tsdz2/stm8s/stm8s_adc1.h type ADC1_PresSel_TypeDef (line 44) | typedef enum type ADC1_ExtTrig_TypeDef (line 59) | typedef enum type ADC1_Align_TypeDef (line 68) | typedef enum type ADC1_IT_TypeDef (line 77) | typedef enum type ADC1_Flag_TypeDef (line 101) | typedef enum type ADC1_SchmittTrigg_TypeDef (line 124) | typedef enum type ADC1_ConvMode_TypeDef (line 145) | typedef enum type ADC1_Channel_TypeDef (line 155) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_adc2.h type ADC2_PresSel_TypeDef (line 46) | typedef enum { type ADC2_ExtTrig_TypeDef (line 60) | typedef enum { type ADC2_Align_TypeDef (line 68) | typedef enum { type ADC2_SchmittTrigg_TypeDef (line 76) | typedef enum { type ADC2_ConvMode_TypeDef (line 101) | typedef enum { type ADC2_Channel_TypeDef (line 110) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_awu.h type AWU_Timebase_TypeDef (line 45) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_beep.h type BEEP_Frequency_TypeDef (line 45) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_can.h type CAN_Page_TypeDef (line 49) | typedef enum type CAN_InitStatus_TypeDef (line 66) | typedef enum { type CAN_OperatingMode_TypeDef (line 74) | typedef enum type CAN_ModeStatus_TypeDef (line 83) | typedef enum type CAN_MasterCtrl_TypeDef (line 92) | typedef enum type CAN_Mode_TypeDef (line 106) | typedef enum type CAN_SynJumpWidth_TypeDef (line 116) | typedef enum type CAN_BitSeg1_TypeDef (line 126) | typedef enum type CAN_BitSeg2_TypeDef (line 148) | typedef enum type CAN_FilterNumber_TypeDef (line 163) | typedef enum type CAN_FilterMode_TypeDef (line 175) | typedef enum type CAN_FilterScale_TypeDef (line 185) | typedef enum type CAN_TransmitMailBox_TypeDef (line 196) | typedef enum type CAN_NbrPendingMessage_TypeDef (line 205) | typedef enum type CAN_Id_TypeDef (line 215) | typedef enum type CAN_RTR_TypeDef (line 223) | typedef enum type CAN_TxStatus_TypeDef (line 231) | typedef enum type CAN_Sleep_TypeDef (line 245) | typedef enum type CAN_WakeUp_TypeDef (line 252) | typedef enum type CAN_FLAG_TypeDef (line 260) | typedef enum type CAN_IT_TypeDef (line 283) | typedef enum type CAN_ST7Compatibility_TypeDef (line 303) | typedef enum type CAN_ErrorCode_TypeDef (line 311) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_clk.h type CLK_SwitchMode_TypeDef (line 45) | typedef enum { type CLK_CurrentClockState_TypeDef (line 53) | typedef enum { type CLK_CSSConfig_TypeDef (line 61) | typedef enum { type CLK_Source_TypeDef (line 70) | typedef enum { type CLK_HSITrimValue_TypeDef (line 79) | typedef enum { type CLK_Output_TypeDef (line 93) | typedef enum { type CLK_Peripheral_TypeDef (line 118) | typedef enum { type CLK_Flag_TypeDef (line 151) | typedef enum { type CLK_IT_TypeDef (line 166) | typedef enum { type CLK_Prescaler_TypeDef (line 180) | typedef enum { type CLK_SWIMDivider_TypeDef (line 198) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_exti.h type EXTI_Sensitivity_TypeDef (line 44) | typedef enum { type EXTI_TLISensitivity_TypeDef (line 54) | typedef enum { type EXTI_Port_TypeDef (line 62) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_flash.h type FLASH_MemType_TypeDef (line 90) | typedef enum { type FLASH_ProgramMode_TypeDef (line 98) | typedef enum { type FLASH_ProgramTime_TypeDef (line 106) | typedef enum { type FLASH_LPMode_TypeDef (line 114) | typedef enum { type FLASH_Status_TypeDef (line 125) | typedef enum { type FLASH_Flag_TypeDef (line 139) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_gpio.h type GPIO_Mode_TypeDef (line 54) | typedef enum type GPIO_Pin_TypeDef (line 75) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_i2c.h type I2C_DutyCycle_TypeDef (line 44) | typedef enum type I2C_Ack_TypeDef (line 53) | typedef enum type I2C_AddMode_TypeDef (line 63) | typedef enum type I2C_IT_TypeDef (line 73) | typedef enum type I2C_Direction_TypeDef (line 84) | typedef enum type I2C_Flag_TypeDef (line 100) | typedef enum type I2C_ITPendingBit_TypeDef (line 135) | typedef enum type I2C_Event_TypeDef (line 163) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_itc.h type ITC_Irq_TypeDef (line 44) | typedef enum { type ITC_PriorityLevel_TypeDef (line 120) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_iwdg.h type IWDG_WriteAccess_TypeDef (line 88) | typedef enum type IWDG_Prescaler_TypeDef (line 95) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_rst.h type RST_Flag_TypeDef (line 41) | typedef enum { FILE: src/firmware/tsdz2/stm8s/stm8s_spi.h type SPI_DataDirection_TypeDef (line 47) | typedef enum { type SPI_NSS_TypeDef (line 58) | typedef enum type SPI_Direction_TypeDef (line 69) | typedef enum { type SPI_Mode_TypeDef (line 78) | typedef enum { type SPI_BaudRatePrescaler_TypeDef (line 87) | typedef enum { type SPI_ClockPolarity_TypeDef (line 102) | typedef enum { type SPI_ClockPhase_TypeDef (line 111) | typedef enum { type SPI_FirstBit_TypeDef (line 120) | typedef enum { type SPI_CRC_TypeDef (line 128) | typedef enum { type SPI_Flag_TypeDef (line 136) | typedef enum { type SPI_IT_TypeDef (line 152) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_tim1.h type TIM1_OCMode_TypeDef (line 45) | typedef enum type TIM1_OPMode_TypeDef (line 72) | typedef enum type TIM1_Channel_TypeDef (line 83) | typedef enum type TIM1_CounterMode_TypeDef (line 106) | typedef enum type TIM1_OCPolarity_TypeDef (line 122) | typedef enum type TIM1_OCNPolarity_TypeDef (line 132) | typedef enum type TIM1_OutputState_TypeDef (line 142) | typedef enum type TIM1_OutputNState_TypeDef (line 152) | typedef enum type TIM1_BreakState_TypeDef (line 162) | typedef enum type TIM1_BreakPolarity_TypeDef (line 171) | typedef enum type TIM1_AutomaticOutput_TypeDef (line 180) | typedef enum type TIM1_LockLevel_TypeDef (line 190) | typedef enum type TIM1_OSSIState_TypeDef (line 204) | typedef enum type TIM1_OCIdleState_TypeDef (line 214) | typedef enum type TIM1_OCNIdleState_TypeDef (line 224) | typedef enum type TIM1_ICPolarity_TypeDef (line 234) | typedef enum type TIM1_ICSelection_TypeDef (line 244) | typedef enum type TIM1_ICPSC_TypeDef (line 256) | typedef enum type TIM1_IT_TypeDef (line 277) | typedef enum type TIM1_ExtTRGPSC_TypeDef (line 302) | typedef enum type TIM1_TS_TypeDef (line 316) | typedef enum type TIM1_TIxExternalCLK1Source_TypeDef (line 339) | typedef enum type TIM1_ExtTRGPolarity_TypeDef (line 351) | typedef enum type TIM1_PSCReloadMode_TypeDef (line 361) | typedef enum type TIM1_EncoderMode_TypeDef (line 371) | typedef enum type TIM1_EventSource_TypeDef (line 383) | typedef enum type TIM1_UpdateSource_TypeDef (line 398) | typedef enum type TIM1_TRGOSource_TypeDef (line 408) | typedef enum type TIM1_SlaveMode_TypeDef (line 428) | typedef enum type TIM1_FLAG_TypeDef (line 442) | typedef enum type TIM1_ForcedAction_TypeDef (line 474) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_tim2.h type TIM2_ForcedAction_TypeDef (line 43) | typedef enum type TIM2_Prescaler_TypeDef (line 53) | typedef enum type TIM2_OCMode_TypeDef (line 91) | typedef enum type TIM2_OPMode_TypeDef (line 118) | typedef enum type TIM2_Channel_TypeDef (line 128) | typedef enum type TIM2_OCPolarity_TypeDef (line 143) | typedef enum type TIM2_OutputState_TypeDef (line 153) | typedef enum type TIM2_ICPolarity_TypeDef (line 163) | typedef enum type TIM2_ICSelection_TypeDef (line 173) | typedef enum type TIM2_ICPSC_TypeDef (line 188) | typedef enum type TIM2_IT_TypeDef (line 205) | typedef enum type TIM2_PSCReloadMode_TypeDef (line 221) | typedef enum type TIM2_EventSource_TypeDef (line 231) | typedef enum type TIM2_UpdateSource_TypeDef (line 242) | typedef enum type TIM2_FLAG_TypeDef (line 252) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_tim3.h type TIM3_ForcedAction_TypeDef (line 46) | typedef enum type TIM3_Prescaler_TypeDef (line 56) | typedef enum type TIM3_OCMode_TypeDef (line 94) | typedef enum type TIM3_OPMode_TypeDef (line 121) | typedef enum type TIM3_Channel_TypeDef (line 132) | typedef enum type TIM3_OCPolarity_TypeDef (line 145) | typedef enum type TIM3_OutputState_TypeDef (line 155) | typedef enum type TIM3_ICPolarity_TypeDef (line 165) | typedef enum type TIM3_ICSelection_TypeDef (line 175) | typedef enum type TIM3_ICPSC_TypeDef (line 187) | typedef enum type TIM3_IT_TypeDef (line 204) | typedef enum type TIM3_PSCReloadMode_TypeDef (line 218) | typedef enum type TIM3_EventSource_TypeDef (line 228) | typedef enum type TIM3_UpdateSource_TypeDef (line 238) | typedef enum type TIM3_FLAG_TypeDef (line 248) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_tim4.h type TIM4_Prescaler_TypeDef (line 48) | typedef enum type TIM4_OPMode_TypeDef (line 70) | typedef enum type TIM4_PSCReloadMode_TypeDef (line 80) | typedef enum type TIM4_UpdateSource_TypeDef (line 90) | typedef enum type TIM4_EventSource_TypeDef (line 100) | typedef enum type TIM4_FLAG_TypeDef (line 108) | typedef enum type TIM4_IT_TypeDef (line 118) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_tim5.h type TIM5_ForcedAction_TypeDef (line 43) | typedef enum type TIM5_Prescaler_TypeDef (line 53) | typedef enum type TIM5_OCMode_TypeDef (line 91) | typedef enum type TIM5_OPMode_TypeDef (line 118) | typedef enum type TIM5_Channel_TypeDef (line 128) | typedef enum type TIM5_OCPolarity_TypeDef (line 143) | typedef enum type TIM5_OutputState_TypeDef (line 153) | typedef enum type TIM5_ICPolarity_TypeDef (line 163) | typedef enum type TIM5_ICSelection_TypeDef (line 173) | typedef enum type TIM5_ICPSC_TypeDef (line 188) | typedef enum type TIM5_IT_TypeDef (line 205) | typedef enum type TIM5_PSCReloadMode_TypeDef (line 223) | typedef enum type TIM5_EventSource_TypeDef (line 233) | typedef enum type TIM5_UpdateSource_TypeDef (line 245) | typedef enum type TIM5_TRGOSource_TypeDef (line 258) | typedef enum type TIM5_FLAG_TypeDef (line 280) | typedef enum type TIM5_SlaveMode_TypeDef (line 307) | typedef enum type TIM5_TS_TypeDef (line 327) | typedef enum type TIM5_EncoderMode_TypeDef (line 350) | typedef enum type TIM5_ExtTRGPSC_TypeDef (line 367) | typedef enum type TIM5_ExtTRGPolarity_TypeDef (line 387) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_tim6.h type TIM6_Prescaler_TypeDef (line 50) | typedef enum type TIM6_OPMode_TypeDef (line 65) | typedef enum type TIM6_PSCReloadMode_TypeDef (line 74) | typedef enum type TIM6_UpdateSource_TypeDef (line 83) | typedef enum type TIM6_EventSource_TypeDef (line 92) | typedef enum type TIM6_TRGOSource_TypeDef (line 101) | typedef enum type TIM6_SlaveMode_TypeDef (line 111) | typedef enum type TIM6_FLAG_TypeDef (line 123) | typedef enum type TIM6_IT_TypeDef (line 132) | typedef enum type TIM6_TS_TypeDef (line 141) | typedef enum FILE: src/firmware/tsdz2/stm8s/stm8s_uart1.h type UART1_IrDAMode_TypeDef (line 50) | typedef enum { UART1_IRDAMODE_NORMAL = (uint8_t)0x00, /**< 0x00 Irda ... type UART1_WakeUp_TypeDef (line 57) | typedef enum { UART1_WAKEUP_IDLELINE = (uint8_t)0x00, /**< 0x01 Id... type UART1_LINBreakDetectionLength_TypeDef (line 64) | typedef enum { UART1_LINBREAKDETECTIONLENGTH_10BITS = (uint8_t)0x00, /**... type UART1_StopBits_TypeDef (line 72) | typedef enum { UART1_STOPBITS_1 = (uint8_t)0x00, /**< One stop bit ... type UART1_Parity_TypeDef (line 81) | typedef enum { UART1_PARITY_NO = (uint8_t)0x00, /**< No Parity*/ type UART1_SyncMode_TypeDef (line 89) | typedef enum { UART1_SYNCMODE_CLOCK_DISABLE = (uint8_t)0x80, /**< 0x8... type UART1_WordLength_TypeDef (line 102) | typedef enum { UART1_WORDLENGTH_8D = (uint8_t)0x00,/**< 0x00 8 bits Data... type UART1_Mode_TypeDef (line 109) | typedef enum { UART1_MODE_RX_ENABLE = (uint8_t)0x08, /**< 0x08 Rece... type UART1_Flag_TypeDef (line 119) | typedef enum { UART1_FLAG_TXE = (uint16_t)0x0080, /*!< Transmit Data R... type UART1_IT_TypeDef (line 158) | typedef enum { UART1_IT_TXE = (uint16_t)0x0277, /*!< Transmit int... FILE: src/firmware/tsdz2/stm8s/stm8s_uart2.h type UART2_IrDAMode_TypeDef (line 49) | typedef enum { UART2_IRDAMODE_NORMAL = (uint8_t)0x00, /**< 0x00 Irda... type UART2_WakeUp_TypeDef (line 58) | typedef enum { UART2_WAKEUP_IDLELINE = (uint8_t)0x00, /**< 0x01 Id... type UART2_LINBreakDetectionLength_TypeDef (line 66) | typedef enum { UART2_LINBREAKDETECTIONLENGTH_10BITS = (uint8_t)0x00, /**... type UART2_StopBits_TypeDef (line 74) | typedef enum { UART2_STOPBITS_1 = (uint8_t)0x00, /**< One stop bit ... type UART2_Parity_TypeDef (line 84) | typedef enum { UART2_PARITY_NO = (uint8_t)0x00, /**< No Parity*/ type UART2_LinMode_TypeDef (line 91) | typedef enum { UART2_LIN_MODE_MASTER = (uint8_t)0x00, /**< LIN Master ... type UART2_LinAutosync_TypeDef (line 97) | typedef enum { UART2_LIN_AUTOSYNC_DISABLE = (uint8_t)0x00, /**< LIN A... type UART2_LinDivUp_TypeDef (line 103) | typedef enum { UART2_LIN_DIVUP_LBRR1 = (uint8_t)0x00, /**< LIN LDIV ... type UART2_SyncMode_TypeDef (line 110) | typedef enum { UART2_SYNCMODE_CLOCK_DISABLE = (uint8_t)0x80, /**< 0x8... type UART2_WordLength_TypeDef (line 123) | typedef enum { UART2_WORDLENGTH_8D = (uint8_t)0x00,/**< 0x00 8 bits Data... type UART2_Mode_TypeDef (line 130) | typedef enum { UART2_MODE_RX_ENABLE = (uint8_t)0x08, /**< 0x08 Rece... type UART2_Flag_TypeDef (line 139) | typedef enum type UART2_IT_TypeDef (line 185) | typedef enum { UART2_IT_TXE = (uint16_t)0x0277, /**< Transmit int... FILE: src/firmware/tsdz2/stm8s/stm8s_uart3.h type UART3_WakeUp_TypeDef (line 48) | typedef enum { UART3_WAKEUP_IDLELINE = (uint8_t)0x00, /**< 0x01 Id... type UART3_LINBreakDetectionLength_TypeDef (line 55) | typedef enum { UART3_LINBREAKDETECTIONLENGTH_10BITS = (uint8_t)0x00, /**... type UART3_StopBits_TypeDef (line 63) | typedef enum { UART3_STOPBITS_1 = (uint8_t)0x00, /**< One stop bit is ... type UART3_Parity_TypeDef (line 70) | typedef enum { UART3_PARITY_NO = (uint8_t)0x00, /**< No Parity*/ type UART3_WordLength_TypeDef (line 78) | typedef enum { UART3_WORDLENGTH_8D = (uint8_t)0x00, /**< 0x00 8 bits ... type UART3_Mode_TypeDef (line 85) | typedef enum { UART3_MODE_RX_ENABLE = (uint8_t)0x08, /**< 0x08 Recei... type UART3_LinMode_TypeDef (line 95) | typedef enum { UART3_LIN_MODE_MASTER = (uint8_t)0x00, /**< LIN Master ... type UART3_LinAutosync_TypeDef (line 101) | typedef enum { UART3_LIN_AUTOSYNC_DISABLE = (uint8_t)0x00, /**< LIN A... type UART3_LinDivUp_TypeDef (line 107) | typedef enum { UART3_LIN_DIVUP_LBRR1 = (uint8_t)0x00, /**< LIN LDIV ... type UART3_Flag_TypeDef (line 115) | typedef enum type UART3_IT_TypeDef (line 161) | typedef enum { UART3_IT_TXE = (uint16_t)0x0277, /**< Transmit int... FILE: src/firmware/tsdz2/stm8s/stm8s_uart4.h type UART4_IrDAMode_TypeDef (line 49) | typedef enum { UART4_IRDAMODE_NORMAL = (uint8_t)0x00, /**< 0x00 Irda... type UART4_WakeUp_TypeDef (line 58) | typedef enum { UART4_WAKEUP_IDLELINE = (uint8_t)0x00, /**< 0x01 Id... type UART4_LINBreakDetectionLength_TypeDef (line 66) | typedef enum { UART4_LINBREAKDETECTIONLENGTH_10BITS = (uint8_t)0x00, /**... type UART4_StopBits_TypeDef (line 74) | typedef enum { UART4_STOPBITS_1 = (uint8_t)0x00, /**< One stop bit ... type UART4_Parity_TypeDef (line 84) | typedef enum { UART4_PARITY_NO = (uint8_t)0x00, /**< No Parity*/ type UART4_LinMode_TypeDef (line 91) | typedef enum { UART4_LIN_MODE_MASTER = (uint8_t)0x00, /**< LIN Master ... type UART4_LinAutosync_TypeDef (line 97) | typedef enum { UART4_LIN_AUTOSYNC_DISABLE = (uint8_t)0x00, /**< LIN A... type UART4_LinDivUp_TypeDef (line 103) | typedef enum { UART4_LIN_DIVUP_LBRR1 = (uint8_t)0x00, /**< LIN LDIV ... type UART4_SyncMode_TypeDef (line 110) | typedef enum { UART4_SYNCMODE_CLOCK_DISABLE = (uint8_t)0x80, /**< 0x8... type UART4_WordLength_TypeDef (line 123) | typedef enum { UART4_WORDLENGTH_8D = (uint8_t)0x00,/**< 0x00 8 bits Data... type UART4_Mode_TypeDef (line 130) | typedef enum { UART4_MODE_RX_ENABLE = (uint8_t)0x08, /**< 0x08 Rece... type UART4_Flag_TypeDef (line 139) | typedef enum type UART4_IT_TypeDef (line 185) | typedef enum { UART4_IT_TXE = (uint16_t)0x0277, /**< Transmit int... FILE: src/firmware/tsdz2/system.c function system_init (line 21) | void system_init() function system_ms (line 34) | uint32_t system_ms() function system_delay_ms (line 47) | void system_delay_ms(uint16_t ms) function isr_timer3_ovf (line 61) | void isr_timer3_ovf(void) __interrupt(ITC_IRQ_TIM3_OVF) FILE: src/firmware/tsdz2/timers.c function timers_init (line 24) | void timers_init() function timer1_init_motor_pwm (line 30) | void timer1_init_motor_pwm() function timer2_init_torque_sensor_pwm (line 140) | void timer2_init_torque_sensor_pwm() function timer3_init_system (line 163) | void timer3_init_system() function timer4_init_sensors (line 187) | void timer4_init_sensors() FILE: src/firmware/tsdz2/torquesensor.c type torque_lut_t (line 38) | typedef struct { uint8_t adc; uint16_t nm_x100; } torque_lut_t; function torque_adc_to_nm_x100 (line 52) | static uint16_t torque_adc_to_nm_x100(uint16_t torque_adc) function torque_sensor_init (line 89) | void torque_sensor_init() function torque_sensor_process (line 99) | void torque_sensor_process() function torque_sensor_get_nm_x100 (line 141) | uint16_t torque_sensor_get_nm_x100() function torque_sensor_ok (line 146) | bool torque_sensor_ok() FILE: src/firmware/tsdz2/uart.c function uart_open (line 30) | void uart_open(uint32_t baudrate) function uart_close (line 74) | void uart_close() function uart_available (line 84) | uint8_t uart_available() function uart_read (line 89) | uint8_t uart_read() function uart_write (line 96) | void uart_write(uint8_t byte) function uart_flush (line 124) | void uart_flush() function isr_uart2_rx (line 131) | void isr_uart2_rx(void) __interrupt(ITC_IRQ_UART2_RX) function isr_uart2_tx (line 146) | void isr_uart2_tx(void) __interrupt(ITC_IRQ_UART2_TX) FILE: src/firmware/tsdz2/watchdog.c function watchdog_init (line 15) | void watchdog_init() function watchdog_yeild (line 28) | void watchdog_yeild() function watchdog_triggered (line 33) | bool watchdog_triggered() FILE: src/logger/include/ComProxy.h function class (line 44) | class ComProxy FILE: src/logger/src/ComProxy.cpp function computeChecksum (line 20) | static uint8_t computeChecksum(uint8_t* buf, uint8_t length) function verifyControllerMessage (line 31) | int verifyControllerMessage(uint8_t* buf, uint8_t length, uint8_t requir... FILE: src/logger/src/Main.cpp function initProxy (line 25) | void initProxy() function printEvent (line 46) | void printEvent(const ComProxy::Event& evt) function setup (line 52) | void setup() function loop (line 75) | void loop() FILE: src/tool/App.xaml.cs class App (line 14) | public partial class App : Application FILE: src/tool/Model/BbsfwConnection.cs class ComPort (line 12) | public class ComPort method ComPort (line 18) | public ComPort(string name, string description) class BbsfwConnection (line 25) | public class BbsfwConnection type Controller (line 27) | public enum Controller method GetComPorts (line 98) | public static List GetComPorts() method Connect (line 126) | public async Task Connect(ComPort port, TimeSpan timeout) method Close (line 144) | public void Close() method ReadConfiguration (line 165) | public async Task> ReadConfiguration(Time... method WriteConfiguration (line 171) | public async Task> WriteConfiguration(Configuratio... method ResetConfiguration (line 177) | public async Task> ResetConfiguration(TimeSpan tim... method CalibrateBatteryVoltage (line 183) | public async Task> CalibrateBatteryVoltage(float a... method OnDataReceived (line 190) | private void OnDataReceived(object sender, SerialDataReceivedEventArgs e) method ProcessInputBuffer (line 229) | private void ProcessInputBuffer() method ProcessMessage (line 263) | private int ProcessMessage() method ProcessReadResponse (line 285) | private int ProcessReadResponse() method ProcessReadResponseFwVersion (line 305) | private int ProcessReadResponseFwVersion() method ProcessReadResponseEvtlogEnable (line 352) | private int ProcessReadResponseEvtlogEnable() method ProcessReadResponseConfig (line 366) | private int ProcessReadResponseConfig() method ProcessWriteResponse (line 427) | private int ProcessWriteResponse() method ProcessWriteResponseEvtlogEnable (line 449) | private int ProcessWriteResponseEvtlogEnable() method ProcessWriteResponseConfig (line 463) | private int ProcessWriteResponseConfig() method ProcessWriteResponseResetConfig (line 477) | private int ProcessWriteResponseResetConfig() method ProcessWriteResponseVoltageCalibration (line 491) | private int ProcessWriteResponseVoltageCalibration() method ProcessEventLogEntry (line 505) | private int ProcessEventLogEntry() method SendReadRequest (line 554) | private void SendReadRequest(byte opcode) method SendEventLogEnableRequest (line 564) | private void SendEventLogEnableRequest(bool enable) method SendWriteConfigRequest (line 575) | private void SendWriteConfigRequest(Configuration config) method SendWriteResetConfigRequest (line 595) | private void SendWriteResetConfigRequest() method SendWriteVoltageCalibration (line 605) | private void SendWriteVoltageCalibration(float volts) method SetupConnection (line 619) | private bool SetupConnection(TimeSpan timeout) method ComputeChecksum (line 637) | private static byte ComputeChecksum(List buffer, int length) FILE: src/tool/Model/CompletionQueue.cs class RequestResult (line 8) | public class RequestResult method RequestResult (line 15) | public RequestResult(bool timeout, T result) class CompletionQueue (line 23) | public class CompletionQueue method Complete (line 27) | public void Complete(T response) method WaitResponse (line 32) | public async Task> WaitResponse(TimeSpan timeout) method Reset (line 49) | private void Reset(TimeSpan timeout) FILE: src/tool/Model/Configuration.cs class Configuration (line 11) | [XmlRoot("BBSFW", Namespace ="https://github.com/danielnilsson9/bbs-fw")] type Feature (line 24) | public enum Feature method GetByteSize (line 32) | public static int GetByteSize(int version) type AssistModeSelect (line 51) | public enum AssistModeSelect type AssistFlagsType (line 69) | [Flags] type ThrottleGlobalSpeedLimitOptions (line 83) | public enum ThrottleGlobalSpeedLimitOptions type TemperatureSensor (line 90) | public enum TemperatureSensor type WalkModeData (line 98) | public enum WalkModeData type LightsModeOptions (line 106) | public enum LightsModeOptions class AssistLevel (line 114) | public class AssistLevel method Configuration (line 209) | public Configuration() : this(BbsfwConnection.Controller.Unknown) method Configuration (line 212) | public Configuration(BbsfwConnection.Controller target) method IsFeatureSupported (line 265) | public bool IsFeatureSupported(Feature feature) method ParseFromBufferV1 (line 287) | public bool ParseFromBufferV1(byte[] buffer) method ParseFromBufferV2 (line 361) | public bool ParseFromBufferV2(byte[] buffer) method ParseFromBufferV3 (line 438) | public bool ParseFromBufferV3(byte[] buffer) method ParseFromBufferV4 (line 513) | public bool ParseFromBufferV4(byte[] buffer) method ParseFromBufferV5 (line 588) | public bool ParseFromBufferV5(byte[] buffer) method WriteToBuffer (line 661) | public byte[] WriteToBuffer() method CopyFrom (line 729) | public void CopyFrom(Configuration cfg) method ReadFromFile (line 784) | public void ReadFromFile(string filepath) method WriteToFile (line 795) | public void WriteToFile(string filepath) method Validate (line 805) | public void Validate() method ValidateLimits (line 851) | private void ValidateLimits(uint value, uint min, uint max, string name) FILE: src/tool/Model/EventLogEntry.cs class EventLogEntry (line 5) | public class EventLogEntry type LogLevel (line 63) | public enum LogLevel method EventLogEntry (line 78) | public EventLogEntry(int evt, int? data) method Parse (line 96) | public string Parse() FILE: src/tool/Properties/Settings.Designer.cs class Settings (line 14) | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] FILE: src/tool/View/AssistLevelCruiseView.xaml.cs class AssistLevelCruiseView (line 21) | public partial class AssistLevelCruiseView : UserControl method AssistLevelCruiseView (line 23) | public AssistLevelCruiseView() FILE: src/tool/View/AssistLevelPasView.xaml.cs class AssistLevelPasView (line 21) | public partial class AssistLevelPasView : UserControl method AssistLevelPasView (line 23) | public AssistLevelPasView() FILE: src/tool/View/AssistLevelThrottleView.xaml.cs class AssistLevelThrottleView (line 21) | public partial class AssistLevelThrottleView : UserControl method AssistLevelThrottleView (line 23) | public AssistLevelThrottleView() FILE: src/tool/View/AssistLevelsView.xaml.cs class AssistLevelsView (line 19) | public partial class AssistLevelsView : UserControl method AssistLevelsView (line 21) | public AssistLevelsView() FILE: src/tool/View/CalibrationView.xaml.cs class CalibrationView (line 21) | public partial class CalibrationView : UserControl method CalibrationView (line 23) | public CalibrationView() FILE: src/tool/View/ConnectionView.xaml.cs class ConnectionView (line 19) | public partial class ConnectionView : UserControl method ConnectionView (line 21) | public ConnectionView() FILE: src/tool/View/Converter/TimestampConverter.cs class TimestampConverter (line 7) | public class TimestampConverter : IValueConverter method Convert (line 9) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: src/tool/View/EventLogView.xaml.cs class EventLogView (line 19) | public partial class EventLogView : UserControl method EventLogView (line 21) | public EventLogView() FILE: src/tool/View/Extension/DataGridExtension.cs class DataGridExtension (line 9) | public static class DataGridExtension method AutoScrollToEndChangedCallback (line 17) | private static void AutoScrollToEndChangedCallback(DependencyObject de... method Subscribe (line 39) | private static void Subscribe(DataGrid dataGrid) method Unsubscribe (line 47) | private static void Unsubscribe(DataGrid dataGrid) method DataGridOnLoaded (line 59) | private static void DataGridOnLoaded(object sender, RoutedEventArgs ro... method DataGridOnUnloaded (line 68) | private static void DataGridOnUnloaded(object sender, RoutedEventArgs ... method ScrollToEnd (line 77) | private static void ScrollToEnd(DataGrid datagrid) method SetAutoScrollToEnd (line 86) | public static void SetAutoScrollToEnd(DependencyObject element, bool v... method GetAutoScrollToEnd (line 91) | public static bool GetAutoScrollToEnd(DependencyObject element) FILE: src/tool/View/MainWindow.xaml.cs class MainWindow (line 21) | public partial class MainWindow : Window method MainWindow (line 23) | public MainWindow() FILE: src/tool/View/SystemView.xaml.cs class SystemView (line 19) | public partial class SystemView : UserControl method SystemView (line 21) | public SystemView() FILE: src/tool/ViewModel/AssistLevelViewModel.cs class AssistLevelViewModel (line 8) | public class AssistLevelViewModel : ObservableObject type AssistBaseType (line 14) | public enum AssistBaseType type AssistPasVariant (line 22) | public enum AssistPasVariant method AssistLevelViewModel (line 285) | public AssistLevelViewModel(ConfigurationViewModel configVm, int id, C... method ApplyBaseTypeFlag (line 293) | private static Configuration.AssistFlagsType ApplyBaseTypeFlag(AssistB... method ClearPasVariantFlag (line 315) | private static Configuration.AssistFlagsType ClearPasVariantFlag(Confi... method ApplyPasVariantFlag (line 323) | private static Configuration.AssistFlagsType ApplyPasVariantFlag(Assis... method ClearThrottleFlag (line 339) | private static Configuration.AssistFlagsType ClearThrottleFlag(Configu... method ApplyThrottleFlag (line 347) | private static Configuration.AssistFlagsType ApplyThrottleFlag(bool en... method ClearThrottleCadenceOverrideFlag (line 358) | private static Configuration.AssistFlagsType ClearThrottleCadenceOverr... method ApplyThrottleCadenceOverrideFlag (line 366) | private static Configuration.AssistFlagsType ApplyThrottleCadenceOverr... method ClearThrottleSpeedOverrideFlag (line 377) | private static Configuration.AssistFlagsType ClearThrottleSpeedOverrid... method ApplyThrottleSpeedOverrideFlag (line 385) | private static Configuration.AssistFlagsType ApplyThrottleSpeedOverrid... FILE: src/tool/ViewModel/AssistLevelsViewModel.cs class AssistLevelsViewModel (line 7) | public class AssistLevelsViewModel : ObservableObject type OperationMode (line 10) | public enum OperationMode method AssistLevelsViewModel (line 60) | public AssistLevelsViewModel(ConfigurationViewModel config) FILE: src/tool/ViewModel/Base/DelegateCommand.cs class DelegateCommand (line 6) | public class DelegateCommand : ICommand method DelegateCommand (line 13) | public DelegateCommand(Action action) method DelegateCommand (line 19) | public DelegateCommand(Action action) method CanExecute (line 25) | public bool CanExecute(object parameter) method Execute (line 30) | public void Execute(object parameter) FILE: src/tool/ViewModel/Base/ObservableObject.cs class ObservableObject (line 8) | public class ObservableObject : INotifyPropertyChanged, INotifyDataError... method AddError (line 38) | public void AddError(string propertyName, string error) method RemoveError (line 47) | public void RemoveError(string propertyName) method GetError (line 55) | public string GetError(string propertyName) method HasError (line 65) | public bool HasError(string propertyName) method GetErrors (line 70) | public IEnumerable GetErrors(string propertyName) method OnPropertyChanged (line 88) | protected void OnPropertyChanged(string propertyName) FILE: src/tool/ViewModel/CalibrationViewModel.cs class CalibrationViewModel (line 8) | public class CalibrationViewModel : ObservableObject method CalibrationViewModel (line 52) | public CalibrationViewModel(ConnectionViewModel connectionVm) method OnSaveVoltageCalibration (line 58) | private async void OnSaveVoltageCalibration() method OnResetVoltageCalibration (line 90) | private async void OnResetVoltageCalibration() FILE: src/tool/ViewModel/ConfigurationViewModel.cs class ConfigurationViewModel (line 9) | public class ConfigurationViewModel : ObservableObject method ConfigurationViewModel (line 578) | public ConfigurationViewModel() method ReadConfiguration (line 596) | public void ReadConfiguration(string filepath) method WriteConfiguration (line 602) | public void WriteConfiguration(string filepath) method UpdateFrom (line 607) | public void UpdateFrom(Configuration config) method GetConfig (line 613) | public Configuration GetConfig() method KphToMph (line 618) | private static uint KphToMph(uint kph) method MphToKph (line 623) | private static uint MphToKph(uint mph) method TriggerPropertyChanges (line 628) | private void TriggerPropertyChanges() FILE: src/tool/ViewModel/ConnectionViewModel.cs class ConnectionViewModel (line 10) | public class ConnectionViewModel : ObservableObject method ConnectionViewModel (line 157) | public ConnectionViewModel() method GetConnection (line 173) | public BbsfwConnection GetConnection() method OnConnected (line 179) | private void OnConnected(BbsfwConnection.Controller controller, string... method OnDisconnected (line 189) | private void OnDisconnected() method OnRefresh (line 197) | private void OnRefresh() method OnConnect (line 203) | private async void OnConnect() method OnDisconnect (line 227) | private void OnDisconnect() FILE: src/tool/ViewModel/EventLogViewModel.cs class EventLogViewModel (line 14) | public class EventLogViewModel : ObservableObject method EventLogViewModel (line 97) | public EventLogViewModel() method AddEvent (line 105) | public void AddEvent(EventLogEntry e) method ExportLog (line 110) | public void ExportLog(string filepath) method OnFilterTriggered (line 123) | private bool OnFilterTriggered(object obj) method OnClear (line 147) | private void OnClear() FILE: src/tool/ViewModel/MainViewModel.cs class MainViewModel (line 12) | public class MainViewModel : ObservableObject method MainViewModel (line 71) | public MainViewModel() method OnSaveLog (line 86) | private void OnSaveLog() method OnOpenConfig (line 108) | private void OnOpenConfig() method OnSaveConfig (line 128) | private void OnSaveConfig() method OnReadFlash (line 155) | private async void OnReadFlash() method OnWriteFlash (line 178) | private async void OnWriteFlash() method OnResetFlash (line 213) | private async void OnResetFlash() method OnShowAbout (line 239) | private void OnShowAbout() method OnExit (line 245) | private void OnExit() method VerifyConfigVersionForRead (line 250) | private bool VerifyConfigVersionForRead() method VerifyConfigVersionForWrite (line 261) | private bool VerifyConfigVersionForWrite() method ValidateConfig (line 272) | private bool ValidateConfig() FILE: src/tool/ViewModel/SystemViewModel.cs class SystemViewModel (line 8) | public class SystemViewModel : ObservableObject method SystemViewModel (line 18) | public SystemViewModel(ConfigurationViewModel config) FILE: src/tool/ViewModel/ValueItemViewModel.cs class ValueItemViewModel (line 6) | public class ValueItemViewModel : IEquatable> method ValueItemViewModel (line 14) | public ValueItemViewModel(T value, string name) method ToString (line 23) | public override string ToString() method Equals (line 28) | public bool Equals([AllowNull] ValueItemViewModel other)