EV Logger
A MSP430 based datalogger for an electric vehicle
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
system.h File Reference

System header. More...

#include <stdio.h>
#include <msp430.h>
#include <msp430f5529.h>
#include <legacymsp430.h>
#include "typedefs.h"

Go to the source code of this file.

Typedefs

typedef uint32_t clock_time_t
 Define a type to hold a system clock time.
 

Functions

void clock_init (void)
 Use timer A0 to set up a system clock ticking at 1ms intervals.
 
void sys_clock_init (void)
 Configure the system core clock to provide a stable clock for the CPU. More...
 
clock_time_t clock_time (void)
 Return the current system time. More...
 
void _delay_ms (clock_time_t delay)
 Delay for the provided number of milliseconds. More...
 

Detailed Description

System header.

Author
Jon Sowman, University of Southampton j.sow.nosp@m.man@.nosp@m.soton.nosp@m..ac..nosp@m.uk