Jump to main content

##

# 2.102.5 RTT_AlarmValueSet Function

## C

    void RTT_AlarmValueSet(uint32_t alarm);

## Summary

Sets the Alarm value for the RTT peripheral.

## Description

This function updates the Alarm compare value for RTT peripheral.

## Precondition

None.

## Parameters

Param | Description
--- | ---
alarm | The alarm value to be updated

## Returns

None.

## Example

    RTT_AlarmValueSet(100);