watchdog.h

来自「u-blox的GPS模块LEA-5x,三本例子为ATMEGA1280对他的操作的」· C头文件 代码 · 共 17 行

H
17
字号
#ifndef _WATCHDOG_H_
#define _WATCHDOG_H_

#include <iom1280v.h>
#include <macros.h>

#define WATCHDOG_DDR  DDRB
#define WATCHDOG_PORT PORTB
#define WATCHDOG_PIN  2

void watchdog_init(void);
void watchdog_set(void);

#endif


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?