Page 4

Epson Research and Development

 

Vancouver Design Center

 

 

8

Identifying the S1D13705

. . .

. .

.

.47

9

Hardware Abstraction Layer (HAL)

. . .

. .

.

.48

9.1Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48

9.2

Contents of the HAL_STRUCT

.

.48

9.3

Using the HAL library

.

.49

9.4API for 13705HAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . .49

9.4.1Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

9.4.2General HAL Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

9.4.3Advanced HAL Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

9.4.4Register / Memory Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

9.4.5

Power Save

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

60

9.4.6

Drawing .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

61

9.4.7LUT Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

9.5Porting LIBSE to a new target platform . . . . . . . . . . . . . . . . . . . . .64

9.5.1 Building the LIBSE library for SH3 target example

. . . . . . . . . . . . . . . . . 65

9.5.2 Building the HAL library for the target example . .

. . . . . . . . . . . . . . . . . 65

10 Sample Code

. . . . . . . . . . . . . . . .66

10.1Sample code using the S1D13705 HAL API . . . . . . . . . . . . . . . . . . .66

10.2Sample code without using the S1D13705 HAL API . . . . . . . . . . . . . . . .68

10.3Header Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77

S1D13705

Programming Notes and Examples

X27A-G-002-03

Issue Date: 02/01/22

Page 98
Image 98
Epson technical manual Identifying the S1D13705 Hardware Abstraction Layer HAL, Sample Code