00001 /* 00002 * $Id: CAN.h,v 1 2005/11/15 08:30:00 BorisK Exp $ 00003 * 00004 * Copyright (C) 2005 ONTRACK s.r.o. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00019 * 02111-1307, USA. 00020 * 00021 * [1] ARM-based Microcontroller LPC2119/2129/2194/2292/9994, "Preliminary User Manual", February 03, 2004 00022 * [2] 80C51 FAMILY DERIVATES - 8XC552/562 overview, 1996 Aug 06, 00023 * http://www.semiconductors.philips.com/acrobat/various/8XC552_562OVERVIEW_2.pdf 00024 * [3] AD7414 - SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin, 2003, AnalogDevices, http://www.analog.com/UploadedFiles/Data_Sheets/723837220AD7414_5_e.pdf 00025 00026 * Written by Boris Kralik <kralikbo@yahoo.com>, 2005 00027 * 00028 */ 00029 #ifndef CAN_H 00030 #define CAN_H 00031 #include "lpc2119.h" 00032 #include "./include/types.h" 00033 00034 void CAN1_Init(void); 00035 void CAN2_Init(void); 00036 void CAN4_Init(void); 00037 00038 uint16_t CAN_Off(uint16_t); 00039 uint16_t CAN1_Off(uint16_t); 00040 uint16_t CAN2_Off(uint16_t); 00041 uint16_t CAN4_Off(uint16_t); 00042 00043 #endif
1.4.7