PER Firmware
Loading...
Searching...
No Matches
powertrain.c File Reference

Powertrain implementation. More...

#include "powertrain.h"
#include "can_library/faults_common.h"
#include "can_library/generated/MAIN_MODULE.h"
Include dependency graph for powertrain.c:

Functions

static void flush_inva (void)
 
static void flush_invb (void)
 
static void flush_invc (void)
 
static void flush_invd (void)
 
void powertrain_init (void)
 
void powertrain_periodic (void)
 
void powertrain_set_torque_request (torque_request_t request)
 
bool is_powertrain_ready (void)
 

Variables

powertrain_t g_powertrain
 

Detailed Description

Powertrain implementation.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Function Documentation

◆ flush_inva()

static void flush_inva ( void )
static
Here is the caller graph for this function:

◆ flush_invb()

static void flush_invb ( void )
static
Here is the caller graph for this function:

◆ flush_invc()

static void flush_invc ( void )
static
Here is the caller graph for this function:

◆ flush_invd()

static void flush_invd ( void )
static
Here is the caller graph for this function:

◆ is_powertrain_ready()

bool is_powertrain_ready ( void )
Here is the caller graph for this function:

◆ powertrain_init()

void powertrain_init ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ powertrain_periodic()

void powertrain_periodic ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ powertrain_set_torque_request()

void powertrain_set_torque_request ( torque_request_t request)
Here is the caller graph for this function:

Variable Documentation

◆ g_powertrain

powertrain_t g_powertrain