SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
SDBC Namespace Reference

Classes

struct  AMS
 
struct  BACK_ECU
 
struct  FRONT_ECU
 
struct  GPIO
 
struct  LINK
 
struct  MC0
 
struct  MC1
 
class  MSG
 
struct  SIG
 
struct  VIRT
 

Typedefs

using gpio_val_t = int16_t
 
using virt_val_t = double
 

Enumerations

enum  dt { SDBC_TYPE_DEFINITIONS }
 

Functions

void incoming (const uint32_t addr, volatile uint8_t *buf)
 
void update ()
 

Variables

LOG_TAG ID = "SDBC"
 
MSG Messages [6]
 
const std::unordered_map< const uint32_t, MSG * > MessageMap
 
const struct SDBC::FRONT_ECU FRONT_ECU
 
const struct SDBC::BACK_ECU BACK_ECU
 
const struct SDBC::MC0 MC0
 
const struct SDBC::MC1 MC1
 
const struct SDBC::AMS AMS
 
const int ANALOG_RESOLUTION = 12
 
const int ANALOG_MAX = 1 << ANALOG_RESOLUTION
 
const int VIRT_ID_OFFSET = 128
 

Detailed Description

AUTO GENERATED FILE - DO NOT EDIT

SDBC Values, defined in C++ as their respective ID

Typedef Documentation

◆ gpio_val_t

using SDBC::gpio_val_t = typedef int16_t

Definition at line 29 of file SDBC_type.hpp.

◆ virt_val_t

using SDBC::virt_val_t = typedef double

Definition at line 30 of file SDBC_type.hpp.

Enumeration Type Documentation

◆ dt

enum SDBC::dt

Definition at line 36 of file SDBC_type.hpp.

Function Documentation

◆ incoming()

void SDBC::incoming ( const uint32_t  addr,
volatile uint8_t *  buf 
)

Definition at line 99 of file SDBC.h.

◆ update()

void SDBC::update ( void  )

Definition at line 131 of file SDBC.h.

Variable Documentation

◆ ANALOG_MAX

const int SDBC::ANALOG_MAX = 1 << ANALOG_RESOLUTION

Definition at line 33 of file SDBC_type.hpp.

◆ ANALOG_RESOLUTION

const int SDBC::ANALOG_RESOLUTION = 12

Definition at line 32 of file SDBC_type.hpp.

◆ ID

LOG_TAG SDBC::ID = "SDBC"

Definition at line 13 of file SDBC.h.

◆ MessageMap

const std::unordered_map<const uint32_t, MSG *> SDBC::MessageMap
Initial value:
= {
{8, Messages + 0},
{5, Messages + 1},
{2, Messages + 2},
{3, Messages + 3},
{10, Messages + 4},
{0xA0, Messages + 5},
}

Definition at line 29 of file SDBC_gen.hpp.

◆ Messages

MSG SDBC::Messages[6]
Initial value:
= {
{3, true},
{10, false},
{0xA0, true},
}

Definition at line 21 of file SDBC_gen.hpp.

◆ VIRT_ID_OFFSET

const int SDBC::VIRT_ID_OFFSET = 128

Definition at line 34 of file SDBC_type.hpp.