⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcf8563.h

📁 PCF8563时钟芯片的C语言应用事例
💻 H
字号:
//pcf8563.h : header file for the pcf8563 project
//

#ifndef _PCF8563_H_
#define _PCF8563_H_

#ifndef __AVR_ATmega128__
#define __AVR_ATmega128__
#endif

#define __MCU_CLOCK_FREQUENCY__ _14.7456_MHz
#define __XRAM_SIZE__ 32768

#include <io.h>
#include <wdt.h>
#include <sleep.h>
#include <Interrupt.h>
#include <sig-avr.h>
#include <inttypes.h>
#include <twi.h>

/////////////////////////////////////////////////////////////////////////////
//pcf8563

#define __INIT1__ __attribute__ ((naked)) __attribute__ ((section (".init1")))

// Set up the external memory interface during start-up
void __xram_init(void) __INIT1__;


#endif

⌨️ 快捷键说明

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