PER Firmware
Loading...
Searching...
No Matches
amk.h File Reference

Modernized AMK driver. More...

#include "can_library/generated/MCAN.h"
#include <stdint.h>
Include dependency graph for amk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AMK_config_t
 
struct  AMK_t
 

Functions

void AMK_init (AMK_t *amk, const AMK_config_t *config)
 
void AMK_reset (AMK_t *amk)
 
void AMK_set_torque (AMK_t *amk, int16_t torque_percent)
 
void AMK_periodic (AMK_t *amk, bool is_precharge_complete)
 

Detailed Description

Function Documentation

◆ AMK_init()

void AMK_init ( AMK_t * amk,
const AMK_config_t * config )
Here is the caller graph for this function:

◆ AMK_periodic()

void AMK_periodic ( AMK_t * amk,
bool is_precharge_complete )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AMK_reset()

void AMK_reset ( AMK_t * amk)
Here is the caller graph for this function:

◆ AMK_set_torque()

void AMK_set_torque ( AMK_t * amk,
int16_t torque_percent )
Here is the caller graph for this function: