#include "string.h"
#include "board.h"
#include "sdramc.h"
#include "intc.h"
#include "gpio.h"
#include "print_funcs.h"
#include "usart.h"
#include "et024006dhu.h"
#include "power_clocks_lib.h"
#include "delay.h"
#include "pngfile.h"
#include "lodepng.h"
#include "conf_clock.h"
#include "pwm.h"
Macros | |
#define | AVERAGE(a, b) |
#define | PIXEL uint16_t |
External Board Mappings | |
#define | EXAMPLE_TC_CHANNEL_PIN AVR32_TC0_A0_0_0_PIN |
#define | EXAMPLE_TC_CHANNEL_FUNCTION AVR32_TC0_A0_0_0_FUNCTION |
Functions | |
void | lodepng_decode_display (unsigned char *table, size_t buffersize, int scale) |
int | main (void) |
void | scale_by_denom (PIXEL *Target, PIXEL *Source, int SrcWidth, int SrcHeight, int denom) |
static void | tft_bl_init (void) |
Variables | |
pcl_freq_param_t | pcl_freq_param |
avr32_pwm_channel_t | pwm_channel6 |
#define EXAMPLE_TC_CHANNEL_FUNCTION AVR32_TC0_A0_0_0_FUNCTION |
#define EXAMPLE_TC_CHANNEL_PIN AVR32_TC0_A0_0_0_PIN |
#define PIXEL uint16_t |
Referenced by scale_by_denom().
void lodepng_decode_display | ( | unsigned char * | table, |
size_t | buffersize, | ||
int | scale | ||
) |
References b, LodePNG_InfoColor::bitDepth, LodePNG_InfoPng::color, LodePNG_InfoColor::colorType, LodePNG_InfoPng::compressionMethod, LodePNG_Time::day, LodePNG_Decoder::error, et024006_Color(), et024006_DrawFilledRect(), ET024006_HEIGHT, et024006_PutPixmap(), ET024006_WIDTH, LodePNG_InfoPng::filterMethod, LodePNG_InfoPng::height, LodePNG_Time::hour, i, LodePNG_Decoder::infoPng, LodePNG_InfoPng::interlaceMethod, LodePNG_InfoPng::itext, j, LodePNG_Text::keys, LodePNG_IText::keys, LodePNG_IText::langtags, LodePNG_decode(), LodePNG_Decoder_cleanup(), LodePNG_Decoder_init(), LodePNG_InfoColor_getBpp(), LodePNG_InfoColor_getChannels(), LodePNG_Time::minute, LodePNG_Time::month, LodePNG_Text::num, LodePNG_IText::num, LodePNG_InfoColor::palettesize, LodePNG_InfoPng::phys_defined, LodePNG_InfoPng::phys_unit, LodePNG_InfoPng::phys_x, LodePNG_InfoPng::phys_y, print_dbg(), scale_by_denom(), LodePNG_Time::second, LodePNG_Text::strings, LodePNG_IText::strings, LodePNG_InfoPng::text, LodePNG_InfoPng::time, LodePNG_InfoPng::time_defined, LodePNG_IText::transkeys, LodePNG_InfoPng::width, and LodePNG_Time::year.
Referenced by main().
int main | ( | void | ) |
|
static |
References opt, pwm_channel6, pwm_channel_init(), pwm_init(), PWM_MODE_LEFT_ALIGNED, PWM_POLARITY_HIGH, pwm_start_channels(), and PWM_UPDATE_DUTY.
Referenced by main().
pcl_freq_param_t pcl_freq_param |
avr32_pwm_channel_t pwm_channel6 |