!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-4.15.0-213/include/linux/iio/common/   drwxr-xr-x
Free 9.74 GB of 61.93 GB (15.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ssp_sensors.h (2.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *  Copyright (C) 2014, Samsung Electronics Co. Ltd. All Rights Reserved.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  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.
 *
 */
#ifndef _SSP_SENSORS_H_
#define _SSP_SENSORS_H_

#include <linux/iio/iio.h>

#define SSP_TIME_SIZE                4
#define SSP_ACCELEROMETER_SIZE            6
#define SSP_GYROSCOPE_SIZE            6
#define SSP_BIO_HRM_RAW_SIZE            8
#define SSP_BIO_HRM_RAW_FAC_SIZE        36
#define SSP_BIO_HRM_LIB_SIZE            8

/**
 * enum ssp_sensor_type - SSP sensor type
 */
enum ssp_sensor_type {
    SSP_ACCELEROMETER_SENSOR = 0,
    SSP_GYROSCOPE_SENSOR,
    SSP_GEOMAGNETIC_UNCALIB_SENSOR,
    SSP_GEOMAGNETIC_RAW,
    SSP_GEOMAGNETIC_SENSOR,
    SSP_PRESSURE_SENSOR,
    SSP_GESTURE_SENSOR,
    SSP_PROXIMITY_SENSOR,
    SSP_TEMPERATURE_HUMIDITY_SENSOR,
    SSP_LIGHT_SENSOR,
    SSP_PROXIMITY_RAW,
    SSP_ORIENTATION_SENSOR,
    SSP_STEP_DETECTOR,
    SSP_SIG_MOTION_SENSOR,
    SSP_GYRO_UNCALIB_SENSOR,
    SSP_GAME_ROTATION_VECTOR,
    SSP_ROTATION_VECTOR,
    SSP_STEP_COUNTER,
    SSP_BIO_HRM_RAW,
    SSP_BIO_HRM_RAW_FAC,
    SSP_BIO_HRM_LIB,
    SSP_SENSOR_MAX,
};

struct ssp_data;

/**
 * struct ssp_sensor_data - Sensor object
 * @process_data:    Callback to feed sensor data.
 * @type:        Used sensor type.
 * @buffer:        Received data buffer.
 */
struct ssp_sensor_data {
    int (*process_data)(struct iio_dev *indio_dev, void *buf,
                int64_t timestamp);
    enum ssp_sensor_type type;
    u8 *buffer;
};

void ssp_register_consumer(struct iio_dev *indio_dev,
               enum ssp_sensor_type type);

int ssp_enable_sensor(struct ssp_data *data, enum ssp_sensor_type type,
              u32 delay);

int ssp_disable_sensor(struct ssp_data *data, enum ssp_sensor_type type);

u32 ssp_get_sensor_delay(struct ssp_data *data, enum ssp_sensor_type);

int ssp_change_delay(struct ssp_data *data, enum ssp_sensor_type type,
             u32 delay);
#endif /* _SSP_SENSORS_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.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2844 ]--