Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
jornada720.h
Go to the documentation of this file.
1 /*
2  * arch/arm/mach-sa1100/include/mach/jornada720.h
3  *
4  * SSP/MCU communication definitions for HP Jornada 710/720/728
5  *
6  * Copyright 2007,2008 Kristoffer Ericson <[email protected]>
7  * Copyright 2000 John Ankcorn <[email protected]>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  *
13  */
14 
15  /* HP Jornada 7xx microprocessor commands */
16 #define GETBATTERYDATA 0xc0
17 #define GETSCANKEYCODE 0x90
18 #define GETTOUCHSAMPLES 0xa0
19 #define GETCONTRAST 0xD0
20 #define SETCONTRAST 0xD1
21 #define GETBRIGHTNESS 0xD2
22 #define SETBRIGHTNESS 0xD3
23 #define CONTRASTOFF 0xD8
24 #define BRIGHTNESSOFF 0xD9
25 #define PWMOFF 0xDF
26 #define TXDUMMY 0x11
27 #define ERRORCODE 0x00
28 
29 extern void jornada_ssp_start(void);
30 extern void jornada_ssp_end(void);
31 extern int jornada_ssp_inout(u8 byte);
32 extern int jornada_ssp_byte(u8 byte);