pcf8563.h

来自「PCF8563时钟芯片的C语言应用事例」· C头文件 代码 · 共 32 行

H
32
字号
//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 + =
减小字号Ctrl + -
显示快捷键?