matlab_23550/Inu/Src/N12_Xilinx/x_wdog.c

24 lines
272 B
C
Raw Normal View History

/*
* x_wdog.c
*
* Created on: 10 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>. 2020 <EFBFBD>.
* Author: yura
*/
#include "MemoryFunctions.h"
#include "Spartan2E_Adr.h"
void stop_wdog(void)
{
i_WriteMemory(ADR_PWM_WDOG, 0x000e);
}
void start_wdog(void)
{
i_WriteMemory(ADR_PWM_WDOG, 0x800f);
}