|
mikroSDK Reference Manual
|
Go to the documentation of this file.
56 #define ILI9341_PWM_CONFIG( ili9341_cfg ) \
57 ili9341_cfg.pwm_cfg.pin = TFT_BPWM;\
58 ili9341_cfg.pwm_cfg.freq_hz = (5000);
75 ILI9341_MODE_LANDSCAPE_UP = 0,
76 ILI9341_MODE_PORTRAIT_LEFT,
77 ILI9341_MODE_LANDSCAPE_DOWN,
78 ILI9341_MODE_PORTRAIT_RIGHT
79 } ili9341_orientation_t;
213 #endif // _ILI9341_H_
TP_MIKROE Touch Controller Driver.
ILI9341 Context Object.
Definition: ili9341.h:113
API for GPIO port driver.
The context structure for storing driver configuration.
Definition: gl_types.h:145
pin_name_t cs
Definition: ili9341.h:88
ili9341_host_interface_t host_interface
Definition: ili9341.h:101
ili9341_host_interface_t
ILI9341 Interface Mode.
Definition: ili9341.h:64
uint16_t width
Definition: ili9341.h:105
uint32_t data_channel_1_mask
Definition: ili9341.h:97
hal_ll_port_name_t hal_port_name_t
Definition: hal_target.h:60
uint16_t width
Definition: ili9341.h:119
PWM driver config structure, consisted of the following fields:
Definition: drv_pwm.h:82
tp_rotate_t rotate
Definition: ili9341.h:115
pin_name_t rd
Definition: ili9341.h:90
pin_name_t rst
Definition: ili9341.h:87
pwm_config_t pwm_cfg
Definition: ili9341.h:103
hal_port_name_t data_channel_1
Definition: ili9341.h:96
pwm_t pwm
Definition: ili9341.h:117
uint16_t ili9341_get_display_height()
Get display height.
void ili9341_rotate(ili9341_t *ctx, tp_rotate_t *rotate)
Function used for changing display rotation.
void ili9341_write_command(uint8_t command)
Send command to ILI9341 Display Controller.
tp_rotate_t
Touch Panel Placement (Orientation) Definition.
Definition: tp.h:115
ILI9341 Display Controller Driver.
void ili9341_init(ili9341_cfg_t *cfg, gl_driver_t *__generic_ptr driver, ili9341_t *ctx)
ILI9341 Display Controller initialization.
void ili9341_set_backlight_intensity(float intensity, ili9341_t *ctx)
ILI9341 Display controller backlight intensity.
void ili9341_write_param(uint8_t param)
Send data to ILI9341 Display Controller.
ILI9341 Display Controller Commands.
hal_pin_name_t pin_name_t
Definition: drv_name.h:73
uint16_t height
Definition: ili9341.h:120
pin_name_t wr
Definition: ili9341.h:91
pin_name_t rs
Definition: ili9341.h:89
uint32_t data_channel_0_mask
Definition: ili9341.h:94
ili9341_orientation_t orientation
Definition: ili9341.h:99
hal_port_name_t data_channel_0
Definition: ili9341.h:93
uint16_t height
Definition: ili9341.h:106
void ili9341_default_cfg(ili9341_cfg_t *cfg)
ILI9341 Default Configuration Function.
void ili9341_backlight_control_init(ili9341_cfg_t *cfg, ili9341_t *ctx)
ILI9341 Display Controller PWM initialization.
uint16_t ili9341_get_display_width()
Get display width.
PWM driver context structure.
Definition: drv_pwm.h:95
ILI9341 Configuration Object.
Definition: ili9341.h:85