Microchip® Advanced 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, RED_LEV, and WIDTH.

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: conf_clock.h:44
#define FCPU_HZ
Definition: conf_clock.h:43
#define FOSC0
Osc0 frequency: Hz.
Definition: evk1105.h:63
#define OSC0_STARTUP
Osc0 startup time: RCOsc periods.
Definition: evk1105.h:64

Referenced by main().

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().