📄 booster_light_pod.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 : boosterLight.h
//* Object : Booster definition
//*
//* 1.0 19/03/01 HI : Creation
//*----------------------------------------------------------------------------
#ifndef boosterlightpod_h
#define boosterlightpod_h
//*-------------------------------------
//* Peripheral and Interrupt Identifier
//*-------------------------------------
#ifdef TWI_ID
#undef TWI_ID
#endif
#ifdef SPI_ID
#undef SPI_ID
#endif
#ifdef UDP_ID
#undef UDP_ID
#endif
#ifdef PIOMISO
#undef PIOMISO
#endif
#ifdef PIOMOSI
#undef PIOMOSI
#endif
#ifdef PIOSPCK
#undef PIOSPCK
#endif
#ifdef PIONPCS0
#undef PIONPCS0
#endif
#ifdef PIONPCS1
#undef PIONPCS1
#endif
#ifdef PIONPCS2
#undef PIONPCS2
#endif
#ifdef PIONPCS3
#undef PIONPCS3
#endif
#ifdef PIOSDA
#undef PIOSDA
#endif
#ifdef PIOSCL
#undef PIOSCL
#endif
#ifdef PIODRXD
#undef PIODRXD
#endif
#ifdef PIODTXD
#undef PIODTXD
#endif
#define TWI_ID 3 //*
#define SPI_ID 5 //*
#define UDP_ID 7 //* for test on POD+ only USB ID
#define PIOMISO 8 //* SPI Master In Slave
#define PIOMOSI 9 //* SPI Master Out Slave
#define PIOSPCK 7 //* SPI clock signal
#define PIONPCS0 3 //* SPI Peripheral Chip Select 0
#define PIONPCS1 4 //* SPI Peripheral Chip Select 1
#define PIONPCS2 5 //* SPI Peripheral Chip Select 2
#define PIONPCS3 6 //* SPI Peripheral Chip Select 3
#define PIOSDA 30 //* TWI Data I/O
#define PIOSCL 31 //* TWI Clock
#define PIODRXD 23 //* USART 2 receive data
#define PIODTXD 22 //* USART 2 receive data
#endif //* boosterLight_h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -