Atmel Software Framework

et024006dhu_example2.c File Reference
#include "board.h"
#include "gpio.h"
#include "power_clocks_lib.h"
#include "conf_clock.h"
#include "et024006dhu.h"
#include "delay.h"
#include <math.h>
#include "pwm.h"

Macros

#define HEIGHT   240
 
#define WIDTH   320
 

Functions

static void draw_mandel (void)
 
static void draw_plasma (void)
 
int main (void)
 
static void tft_bl_init (void)
 

Variables

pcl_freq_param_t pcl_freq_param
 
unsigned short int plasma [HEIGHT *WIDTH]
 
avr32_pwm_channel_t pwm_channel6
 

#define HEIGHT   240

Referenced by draw_mandel(), and draw_plasma().

#define WIDTH   320

Referenced by draw_mandel(), and draw_plasma().

static void draw_mandel ( void  )
static

References BLACK, BLUE_LEV, et024006_DrawPixel(), GREEN_LEV, HEIGHT, i, j, RED_LEV, WIDTH, x, and y.

Referenced by main().

static void draw_plasma ( void  )
static
static void tft_bl_init ( void  )
static

pcl_freq_param_t pcl_freq_param
Initial value:
=
{
.cpu_f = FCPU_HZ
, .pba_f = FPBA_HZ
, .osc0_f = FOSC0
, .osc0_startup = OSC0_STARTUP
}
#define FPBA_HZ
Definition: thirdparty/hd/example/ports/avr32/conf/conf_clock.h:85
#define FCPU_HZ
Definition: thirdparty/hd/example/ports/avr32/conf/conf_clock.h:82
#define FOSC0
Definition: bsp-evk1105.c:23
unsigned short int plasma[HEIGHT *WIDTH]
avr32_pwm_channel_t pwm_channel6
Initial value:
= {
.cdty = 0,
.cprd = 100
}

Referenced by main(), and tft_bl_init().