resetps: xresetps_example.c File Reference

| resetps Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xresetps_example.c File Reference

## Overview

This file contains a design example using the Reset Controller (ResetPs) driver.

A list of peripheral blocks to be reset is maintained. The list has a peripheral reset ID, a register address that is to be modified, value to be modified and value after reset for that register. The register provided for a peripheral block is modified with the value provided. The peripheral is then reset and the register value is cerified with reset value.

Note

    MODIFICATION HISTORY:
    Ver   Who    Date     Changes

    1.00  cjp    10/07/17 First release
    1.2   cjp    04/27/18 Updated for clockps interdependency
          mus    02/28/19 Initialized FailCnt variable

## Functions
int | main (void)
| Main function to call Reset example. More...

## Function Documentation

int main | ( | void |  | ) |

Main function to call Reset example.

Parameters

  None. |

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE.

Note
  None.