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

📄 lib_m40800.h

📁 ARM入门的好帮手.包含了从简单到相对较复杂的程序.
💻 H
字号:
//*---------------------------------------------------------------------------
//*         ATMEL Microcontroller Software Support  -  ROUSSET  -
//*---------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*-----------------------------------------------------------------------------
//* File Name           : lib_m40800.h
//* Object              : AT91M40800 Definition File
//*
//* 1.0 01/04/00 JCZ    : Creation
//* 1.1 29/09/00 JPP    : TCB definition
//*---------------------------------------------------------------------------

#ifndef lib_m40800_h
#define lib_m40800_h

#include    "parts/m40800/m40800.h"

/*----------------------------*/
/* Special Function Registers */
/*----------------------------*/
#include    "periph/special_function/lib_sf.h"

/*------------------------*/
/* External Bus Interface */
/*------------------------*/
#include    "periph/ebi/lib_ebi.h"

/*--------------------------*/
/* Power Saving Controller  */
/*--------------------------*/
#include    "periph/power_saving/lib_power_save.h"

/*-------------------------------*/
/* Advanced Interrupt Controller */
/*-------------------------------*/

#include    "periph/aic/lib_aic.h"
#include    "periph/aic/ext_irq/lib_ext_irq.h"

/* Descriptor */
extern const ExtIrqDesc     IRQ0_DESC ;  /* IRQ0 Descriptor */
extern const ExtIrqDesc     IRQ1_DESC ;  /* IRQ1 Descriptor */
extern const ExtIrqDesc     IRQ2_DESC ;  /* IRQ2 Descriptor */
extern const ExtIrqDesc     FIQ_DESC ;   /* FIQ Descriptor */

/*-------------------------*/
/* Parallel I/O Controller */
/*-------------------------*/
#include    "periph/pio/lib_pio.h"

/* Descriptor */
extern const PioCtrlDesc PIO_DESC ;         /* PIO Controller Descriptor */

/*--------*/
/* USARTs */
/*--------*/
/* Definition file */
#include    "periph/usart/lib_usart.h"

/* USART descriptor */
extern const UsartDesc USART0_DESC ;        /* USART 0 Descriptor */
extern const UsartDesc USART1_DESC ;        /* USART 1 Descriptor */


/*----------*/
/* Watchdog */
/*----------*/
/* Definition file */
#include    "periph/watchdog/lib_wd.h"

/* Descriptor */
extern const WDDesc WD_DESC ;       /* Watchdog descriptor */

/*---------------*/
/* Timer Counter */
/*---------------*/
#include    "periph/timer_counter/lib_tc.h"


/* Descriptor */
extern const TCDesc TC0_DESC ;          /* Timer Counter Channel 0 Descriptor */
extern const TCDesc TC1_DESC ;          /* Timer Counter Channel 2 Descriptor */
extern const TCDesc TC2_DESC ;          /* Timer Counter Channel 2 Descriptor */

/*extern const TCBlockDesc TCB_DESC ; */    /* Timer Counter Block Descriptor */

#endif /* lib_m40800_h */

⌨️ 快捷键说明

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