working version
This commit is contained in:
1 parent
a8b04b8c9a
commit
8583ff4f02
32 files changed
+979
-957
No files matched your search
+20
-5
@@ -1,3 +1,23 @@
|
||||
/***************************************************************************
|
||||
* sam7fc - Real Time Clock Calibration *
|
||||
* *
|
||||
* Copyright (C) 02/2008 by Olaf Rempel *
|
||||
* razzor@kopf-tisch.de *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; version 2 of the License *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
#include <stdio.h>
|
||||
#include "AT91SAM7S256.h"
|
||||
#include "at91_sysc.h"
|
||||
@@ -6,11 +26,6 @@
|
||||
static void rtt_isr(uint32_t status)
|
||||
{
|
||||
*AT91C_RTTC_RTAR = *AT91C_RTTC_RTVR +1;
|
||||
|
||||
static uint32_t i;
|
||||
*AT91C_PIOA_SODR = i;
|
||||
i = i ^ LED_ORANGE;
|
||||
*AT91C_PIOA_CODR = i;
|
||||
}
|
||||
|
||||
void at91_rttc_test_init(void)
|
||||
|
||||
Reference in new issue
Block a user