Jump to main content

##

# 2.96.13 RNG_Poly1Get Function

## C

    uint32_t RNG_Poly1Get (void);

## Summary

Returns the value of the RNGPOLY1 register.

## Description

The polynomial equation for PRNG is set via the RNGPOLYx registers. Use this function to read the polynomial.

## Precondition

None.

## Parameters

None.

## Returns

Value of the RNGPOLY1 register.

## Example

    uint32_t poly1 = 0;
    poly1 = RNG_Poly1Get();

## Remarks

None.