BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
2440lib.h File Reference

Go to the source code of this file.

Macros

#define min(x1, x2)   (((x1)<(x2))? (x1):(x2))
#define max(x1, x2)   (((x1)>(x2))? (x1):(x2))
#define ONESEC0   (62500)
#define ONESEC1   (31250)
#define ONESEC2   (15625)
#define ONESEC3   (7812)
#define ONESEC4   (PCLK/128/(0xff+1))
#define NULL   0
#define EnterPWDN(clkcon)   ((void (*)(int))0x20)(clkcon)

Functions

void StartPointAfterPowerOffWakeUp (void)
void Delay (int time)
void * malloc (unsigned nbyte)
void free (void *pt)
void Timer_Start (int divider)
int Timer_Stop (void)
void Led_Display (int data)

Macro Definition Documentation

#define EnterPWDN (   clkcon)    ((void (*)(int))0x20)(clkcon)

Definition at line 29 of file 2440lib.h.

#define max (   x1,
  x2 
)    (((x1)>(x2))? (x1):(x2))

Definition at line 19 of file 2440lib.h.

#define min (   x1,
  x2 
)    (((x1)<(x2))? (x1):(x2))

Definition at line 18 of file 2440lib.h.

#define NULL   0

Definition at line 27 of file 2440lib.h.

#define ONESEC0   (62500)

Definition at line 21 of file 2440lib.h.

#define ONESEC1   (31250)

Definition at line 22 of file 2440lib.h.

#define ONESEC2   (15625)

Definition at line 23 of file 2440lib.h.

#define ONESEC3   (7812)

Definition at line 24 of file 2440lib.h.

#define ONESEC4   (PCLK/128/(0xff+1))

Definition at line 25 of file 2440lib.h.


Function Documentation

void Delay ( int  time)
void free ( void *  pt)
void Led_Display ( int  data)
void* malloc ( unsigned  nbyte)
void StartPointAfterPowerOffWakeUp ( void  )
void Timer_Start ( int  divider)
int Timer_Stop ( void  )