24 lines
272 B
C
24 lines
272 B
C
|
/*
|
|||
|
* 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);
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|