> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCCreateCMAmpMapReq

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCCreateCMAmpMapReq.md)

## SCC\_CreateCM\_Amp\_Map\_Req

**CAPL Functions** » **Smart Charging** » **SCC Modeling Libraries (Simulation Setup)** » **SLAC Test Functions** » **Shared Functions** » SCC\_CreateCM\_Amp\_Map\_Req

### Valid for: CANoe DE • CANoe4SW DE

### Function Syntax

```plaintext theme={null}
void SCC_CreateCM_Amp_Map_Req ( byte SourceMac[], byte TargetMac[], dword AmLen, byte AmData[] )
```

### Description

Creates a CM\_Amp\_Map.Req message for sending.

### Parameters

* **SourceMac**: Source address of the Ethernet packet.
* **TargetMac**: Destination address of the Ethernet packet.
* **AmLen**: Length of the AmData array.
* **AmData**: Power spectral density difference values as defined by the specification.\
  **Note**: Because the PSD is defined in values of 4 bit, only the lower half of each byte is considered.

### Return Values

—

### Example

—
