Jump to main content

##

# 2.122.4 TIMER32_x_PreLoadCountSet Function

## C

    /* x = Timer32 instance number */

    void TIMER32_x_PreLoadCountSet(uint32_t count)

## Summary

Sets the timer pre-load value

## Description

Sets the timer pre-load value. This is used by H/W when the counter is to be restarted automatically; this will become the new value of the counter upon restart.

## Precondition

TIMER32_x_Initialize() function must have been called first and auto-restart must be enabled

## Parameters

Param | Description
--- | ---
count | timer pre-load value

## Returns

None

## Example

    TIMER32_0_PreLoadCountSet(1000);

## Remarks

None