RP2040-Decoder
Loading...
Searching...
No Matches
core1.h File Reference
#include "shared.h"

Go to the source code of this file.

Data Structures

struct  startup_parameters_t
 
struct  pid_parameters_t
 
struct  controller_parameter_t
 

Macros

#define BASE_PWM_ARR_LEN   16
 

Typedefs

typedef struct startup_parameters_t startup_parameters_t
 
typedef struct pid_parameters_t pid_parameter_t
 
typedef struct controller_parameter_t controller_parameter_t
 

Enumerations

enum  controller_mode_t { STARTUP_MODE , PID_MODE }
 

Functions

uint8_t get_speed_step_table_index_of_speed_step (uint8_t speed_step)
 
bool speed_helper (struct repeating_timer *t)
 
void adjust_pwm_level (uint16_t level)
 
float get_kp (const controller_parameter_t *ctrl_par)
 
uint16_t get_initial_level (controller_parameter_t *ctrl_par)
 
void controller_startup_mode (controller_parameter_t *ctrl_par)
 
bool controller_general (struct repeating_timer *t)
 
void init_controller (controller_parameter_t *ctrl_par)
 

Detailed Description

Used exclusively by core1