#include "sceptre.h"
#include <time.h>
#include <string.h>
#include <stdio.h>
#include "..\core\filesystem\sdcard_driver.h"
#include "..\core\filesystem\sdcard.h"
#include "..\core\thermometer\ds18b20.h"
Go to the source code of this file.
Defines | |
#define | LED_PIN 30 |
#define | LED_ON IOSET1 = (1<<LED_PIN) |
#define | LED_OFF IOCLR1 = (1<<LED_PIN) |
Functions | |
void | main_send_string (const char *p_str) |
void | main_10ms_timer (void) |
FIL * | main_file_open (FIL *p_file, const char *p_name, uint8_t flags) |
bool_t | main_file_exist (const char *p_name) |
void | main_log_data (const char *p_name_1, const char *p_name_2) |
void | led_init (void) |
void | led_tick (void) |
uint8_t Buffer[1024] | __attribute__ ((aligned(4))) |
void | put_dump (FIL *p_file, const uint8_t *p_data, uint32_t ofs, int cnt) |
void | main_sys_info (char *p_name) |
void | main_disk_info (char *p_name) |
int | main (void) |
Variables | |
const char * | p_hello = "Sceptre rulez!\n" |
const char * | p_version = "V2010.01.31\n\n" |
const char * | p_name1 = "a_log.txt" |
const char * | p_name2 = "t_log.txt" |
const char * | p_bluetooth_test = "test_bt.pls" |
rtc_time_t | rtc |
char | bt_name [16+1] |
Sceptre main.
Definition in file main.c.
int main | ( | void | ) |
bool_t main_file_exist | ( | const char * | p_name | ) |