mikroSDK Reference Manual
ili9341.h File Reference

Go to the source code of this file.

Data Structures

struct  ili9341_cfg_t
 ILI9341 Configuration Object. More...
 
struct  ili9341_t
 ILI9341 Context Object. More...
 

Macros

#define ILI9341_PWM_CONFIG(ili9341_cfg)
 Mapping for PWM config structure. More...
 

Enumerations

enum  ili9341_host_interface_t
 ILI9341 Interface Mode. More...
 
enum  ili9341_orientation_t
 

Functions

void ili9341_init (ili9341_cfg_t *cfg, gl_driver_t *__generic_ptr driver, ili9341_t *ctx)
 ILI9341 Display Controller initialization. More...
 
void ili9341_default_cfg (ili9341_cfg_t *cfg)
 ILI9341 Default Configuration Function. More...
 
void ili9341_write_command (uint8_t command)
 Send command to ILI9341 Display Controller. More...
 
void ili9341_write_param (uint8_t param)
 Send data to ILI9341 Display Controller. More...
 
uint16_t ili9341_get_display_width ()
 Get display width. More...
 
uint16_t ili9341_get_display_height ()
 Get display height. More...
 
void ili9341_backlight_control_init (ili9341_cfg_t *cfg, ili9341_t *ctx)
 ILI9341 Display Controller PWM initialization. More...
 
void ili9341_set_backlight_intensity (float intensity, ili9341_t *ctx)
 ILI9341 Display controller backlight intensity. More...
 
void ili9341_rotate (ili9341_t *ctx, tp_rotate_t *rotate)
 Function used for changing display rotation. More...
 

Macro Definition Documentation

◆ ILI9341_PWM_CONFIG

#define ILI9341_PWM_CONFIG (   ili9341_cfg)
Value:
ili9341_cfg.pwm_cfg.pin = TFT_BPWM;\
ili9341_cfg.pwm_cfg.freq_hz = (5000);

Enumeration Type Documentation

◆ ili9341_host_interface_t

interface mode for ILI9341 display controller.

Enumerator
ILI9341_HOST_INTERFACE_8BIT 

8-bit mode.

ILI9341_HOST_INTERFACE_16BIT 

16-bit mode.