!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-3.13.0-61/include/linux/input/   drwxr-xr-x
Free 9.68 GB of 29.4 GB (32.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     kxtj9.h (1.74 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Copyright (C) 2011 Kionix, Inc.
 * Written by Chris Hudson <chudson@kionix.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307, USA
 */

#ifndef __KXTJ9_H__
#define __KXTJ9_H__

#define KXTJ9_I2C_ADDR        0x0F

struct kxtj9_platform_data {
    unsigned int min_interval;    /* minimum poll interval (in milli-seconds) */
    unsigned int init_interval;    /* initial poll interval (in milli-seconds) */

    /*
     * By default, x is axis 0, y is axis 1, z is axis 2; these can be
     * changed to account for sensor orientation within the host device.
     */
    u8 axis_map_x;
    u8 axis_map_y;
    u8 axis_map_z;

    /*
     * Each axis can be negated to account for sensor orientation within
     * the host device.
     */
    bool negate_x;
    bool negate_y;
    bool negate_z;

    /* CTRL_REG1: set resolution, g-range, data ready enable */
    /* Output resolution: 8-bit valid or 12-bit valid */
    #define RES_8BIT        0
    #define RES_12BIT        (1 << 6)
    u8 res_12bit;
    /* Output g-range: +/-2g, 4g, or 8g */
    #define KXTJ9_G_2G        0
    #define KXTJ9_G_4G        (1 << 3)
    #define KXTJ9_G_8G        (1 << 4)
    u8 g_range;

    int (*init)(void);
    void (*exit)(void);
    int (*power_on)(void);
    int (*power_off)(void);
};
#endif  /* __KXTJ9_H__ */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.005 ]--