0% found this document useful (0 votes)
3 views

Step

step routine for welder

Uploaded by

zaky100
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Step

step routine for welder

Uploaded by

zaky100
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

/*******************************************************************************

* File Name: Step.c


* Version 1.80
*
* Description:
* This file contains API to enable firmware control of a Control Register.
*
* Note:
*
********************************************************************************
* Copyright 2008-2015, Cypress Semiconductor Corporation. All rights reserved.
* You may use this file only in accordance with the license, terms, conditions,
* disclaimers, and limitations in the end user license agreement accompanying
* the software package with which this file was provided.
*******************************************************************************/

#include "Step.h"

/* Check for removal by optimization */


#if !defined(Step_Sync_ctrl_reg__REMOVED)

/*******************************************************************************
* Function Name: Step_Write
********************************************************************************
*
* Summary:
* Write a byte to the Control Register.
*
* Parameters:
* control: The value to be assigned to the Control Register.
*
* Return:
* None.
*
*******************************************************************************/
void Step_Write(uint8 control)
{
Step_Control = control;
}

/*******************************************************************************
* Function Name: Step_Read
********************************************************************************
*
* Summary:
* Reads the current value assigned to the Control Register.
*
* Parameters:
* None.
*
* Return:
* Returns the current value in the Control Register.
*
*******************************************************************************/
uint8 Step_Read(void)
{
return Step_Control;
}

#endif /* End check for removal by optimization */

/* [] END OF FILE */

You might also like