13.1. Ambient Temperature Converter - AmbTCnvr

Id

AmbTCnvr

Title

Ambient Temperature Converter

System

Thermal

Document Type

Application Software Component Specification Preview

13.1.1. Overview

The AmbTCnvr software component converts ambient temperature sensor data to the AMB CAN message format.

13.1.2. Functions

Title

Description

1

Convert Temperature Status

Converts the boolean temperature status signal to the value_state_t enumeration used in the AMB CAN message. If temperature status is true, sets value to vsOK, otherwise sets to vsNA.

2

Populate AMB Message

Populates the AMB CAN message structure with the converted ambient temperature value and status. Other AMB message signals are set to default values.

13.1.3. Ports

Id

Direction

Data Type

Dimensions

Unit

1

Temperature

Incoming

single

[-1]

inherit

2

TemperatureOk

Incoming

boolean

[-1]

inherit

3

AMB

Outgoing

Bus: CAN_AMB_t

[-1]

inherit

4

AMB_send

Outgoing

boolean

[-1]

inherit