Classes | Defines | Functions | Variables
system.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HL_STATUS

Defines

#define LER0_EN   1 << 0
#define LER1_EN   1 << 1
#define LER2_EN   1 << 2
#define LER3_EN   1 << 3
#define LER4_EN   1 << 4
#define LER5_EN   1 << 5
#define LER6_EN   1 << 6
#define MR0_INT   1 << 0
#define MR1_INT   1 << 1
#define MR2_INT   1 << 2
#define MR3_INT   1 << 3
#define MR4_INT   1 << 8
#define MR5_INT   1 << 9
#define MR6_INT   1 << 10
#define PWM_CYCLE   1200
#define PWM_OFFSET   200
#define PWMENA1   1 << 9
#define PWMENA2   1 << 10
#define PWMENA3   1 << 11
#define PWMENA4   1 << 12
#define PWMENA5   1 << 13
#define PWMENA6   1 << 14
#define PWMMR0I   1 << 0
#define PWMMR0R   1 << 1
#define PWMMR0S   1 << 2
#define PWMMR1I   1 << 3
#define PWMMR1R   1 << 4
#define PWMMR1S   1 << 5
#define PWMMR2I   1 << 6
#define PWMMR2R   1 << 7
#define PWMMR2S   1 << 8
#define PWMMR3I   1 << 9
#define PWMMR3R   1 << 10
#define PWMMR3S   1 << 11
#define PWMMR4I   1 << 12
#define PWMMR4R   1 << 13
#define PWMMR4S   1 << 14
#define PWMMR5I   1 << 15
#define PWMMR5R   1 << 16
#define PWMMR5S   1 << 17
#define PWMMR6I   1 << 18
#define PWMMR6R   1 << 19
#define PWMMR6S   1 << 20
#define PWMSEL2   1 << 2
#define PWMSEL3   1 << 3
#define PWMSEL4   1 << 4
#define PWMSEL5   1 << 5
#define PWMSEL6   1 << 6
#define TCR_CNT_EN   0x00000001
#define TCR_PWM_EN   0x00000008
#define TCR_RESET   0x00000002

Functions

void delay (int)
void init (void)
void init_get_calibdata_from_flash (void)
void init_interrupts (void)
void init_ports (void)
void init_pwm (void)
void init_spi (void)
void init_spi1 (void)
void init_timer0 (void)
void init_timer1 (void)
unsigned int peripheralClockFrequency (void)
void pll_feed (void)
void pll_init (void)
unsigned int processorClockFrequency (void)
void PWM_Init (void)
void SPI1Send (char *, unsigned int, unsigned char)
void SPI_get_data (unsigned int)
void write_calibdata_to_flash (void)

Variables

unsigned char CAM_Commands_received
struct HL_STATUS HL_Status

Define Documentation

#define LER0_EN   1 << 0

Definition at line 122 of file system.h.

#define LER1_EN   1 << 1

Definition at line 123 of file system.h.

#define LER2_EN   1 << 2

Definition at line 124 of file system.h.

#define LER3_EN   1 << 3

Definition at line 125 of file system.h.

#define LER4_EN   1 << 4

Definition at line 126 of file system.h.

#define LER5_EN   1 << 5

Definition at line 127 of file system.h.

#define LER6_EN   1 << 6

Definition at line 128 of file system.h.

#define MR0_INT   1 << 0

Definition at line 76 of file system.h.

#define MR1_INT   1 << 1

Definition at line 77 of file system.h.

#define MR2_INT   1 << 2

Definition at line 78 of file system.h.

#define MR3_INT   1 << 3

Definition at line 79 of file system.h.

#define MR4_INT   1 << 8

Definition at line 80 of file system.h.

#define MR5_INT   1 << 9

Definition at line 81 of file system.h.

#define MR6_INT   1 << 10

Definition at line 82 of file system.h.

#define PWM_CYCLE   1200

Definition at line 73 of file system.h.

#define PWM_OFFSET   200

Definition at line 74 of file system.h.

#define PWMENA1   1 << 9

Definition at line 115 of file system.h.

#define PWMENA2   1 << 10

Definition at line 116 of file system.h.

#define PWMENA3   1 << 11

Definition at line 117 of file system.h.

#define PWMENA4   1 << 12

Definition at line 118 of file system.h.

#define PWMENA5   1 << 13

Definition at line 119 of file system.h.

#define PWMENA6   1 << 14

Definition at line 120 of file system.h.

#define PWMMR0I   1 << 0

Definition at line 88 of file system.h.

#define PWMMR0R   1 << 1

Definition at line 89 of file system.h.

#define PWMMR0S   1 << 2

Definition at line 90 of file system.h.

#define PWMMR1I   1 << 3

Definition at line 91 of file system.h.

#define PWMMR1R   1 << 4

Definition at line 92 of file system.h.

#define PWMMR1S   1 << 5

Definition at line 93 of file system.h.

#define PWMMR2I   1 << 6

Definition at line 94 of file system.h.

#define PWMMR2R   1 << 7

Definition at line 95 of file system.h.

#define PWMMR2S   1 << 8

Definition at line 96 of file system.h.

#define PWMMR3I   1 << 9

Definition at line 97 of file system.h.

#define PWMMR3R   1 << 10

Definition at line 98 of file system.h.

#define PWMMR3S   1 << 11

Definition at line 99 of file system.h.

#define PWMMR4I   1 << 12

Definition at line 100 of file system.h.

#define PWMMR4R   1 << 13

Definition at line 101 of file system.h.

#define PWMMR4S   1 << 14

Definition at line 102 of file system.h.

#define PWMMR5I   1 << 15

Definition at line 103 of file system.h.

#define PWMMR5R   1 << 16

Definition at line 104 of file system.h.

#define PWMMR5S   1 << 17

Definition at line 105 of file system.h.

#define PWMMR6I   1 << 18

Definition at line 106 of file system.h.

#define PWMMR6R   1 << 19

Definition at line 107 of file system.h.

#define PWMMR6S   1 << 20

Definition at line 108 of file system.h.

#define PWMSEL2   1 << 2

Definition at line 110 of file system.h.

#define PWMSEL3   1 << 3

Definition at line 111 of file system.h.

#define PWMSEL4   1 << 4

Definition at line 112 of file system.h.

#define PWMSEL5   1 << 5

Definition at line 113 of file system.h.

#define PWMSEL6   1 << 6

Definition at line 114 of file system.h.

#define TCR_CNT_EN   0x00000001

Definition at line 84 of file system.h.

#define TCR_PWM_EN   0x00000008

Definition at line 86 of file system.h.

#define TCR_RESET   0x00000002

Definition at line 85 of file system.h.


Function Documentation

void delay ( int  )

Definition at line 280 of file original_hl_sdk_2.0/system.c.

void init ( void  )

Definition at line 41 of file original_hl_sdk_2.0/system.c.

void init_interrupts ( void  )

Definition at line 60 of file original_hl_sdk_2.0/system.c.

void init_ports ( void  )

Definition at line 90 of file original_hl_sdk_2.0/system.c.

void init_pwm ( void  )
void init_spi ( void  )

Definition at line 213 of file original_hl_sdk_2.0/system.c.

void init_spi1 ( void  )

Definition at line 219 of file original_hl_sdk_2.0/system.c.

void init_timer0 ( void  )

Definition at line 180 of file original_hl_sdk_2.0/system.c.

void init_timer1 ( void  )

Definition at line 200 of file system.c.

unsigned int peripheralClockFrequency ( void  )

Definition at line 262 of file original_hl_sdk_2.0/system.c.

void pll_feed ( void  )

Definition at line 251 of file original_hl_sdk_2.0/system.c.

void pll_init ( void  )

Definition at line 245 of file original_hl_sdk_2.0/system.c.

unsigned int processorClockFrequency ( void  )

Definition at line 257 of file original_hl_sdk_2.0/system.c.

void PWM_Init ( void  )

Definition at line 191 of file original_hl_sdk_2.0/system.c.

void SPI1Send ( char *  ,
unsigned  int,
unsigned  char 
)
void SPI_get_data ( unsigned  int)
void write_calibdata_to_flash ( void  )

Variable Documentation

unsigned char CAM_Commands_received

Definition at line 65 of file main.c.



asctec_hl_firmware
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:19