代码搜索结果
找到约 3,982 项符合
Sensor 的代码
omapcamera_sensor_if.h
/*
* drivers/media/video/omapcamera_sensor_if.h
*
* Sensor interface to Video-for-Linux (Version 2) camera capture driver for
* the OMAP24xx camera controller.
*
* Author: Andy Lowe (source@mv
omapcamera_sensor_if.c
/*
* drivers/media/video/omapcamera_sensor_if.c
*
* Sensor interface to Video-for-Linux (Version 2) camera capture driver for
* the OMAP24xx camera controller.
*
* Author: Andy Lowe (source@mv
camera_sensor_if.c
/*
* linux/drivers/media/video/omap/camera_sensor_if.c
*
* Copyright (C) 2004 Texas Instruments Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the
camera_sensor_if.h
/*
* linux/drivers/media/video/omap/camera_sensor_if.h
*
* Copyright (C) 2004 Texas Instruments Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the
sensor_init.cpp
// Distributed control system: sensor node
//
// Samples the plant periodically and sends the samples to the
// controller node.
#define S_FUNCTION_NAME sensor_init
#include "ttkernel.cpp"
// code
sensor_init.m
function sensor_init
% Distributed control system: sensor node
%
% Samples the plant periodically and sends the samples to the
% controller node.
% Initialize TrueTime kernel
ttInitKernel(1, 0, 'pr
vib-sensor.c
/*
* Copyright (c) 2005, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide
button-sensor.h
#ifndef __BUTTON_SENSOR_H__
#define __BUTTON_SENSOR_H__
#include "lib/sensors.h"
extern const struct sensors_sensor button_sensor;
#define BUTTON_SENSOR "Button"
void button_press(void);
#endif /
pir-sensor.h
#ifndef __PIR_SENSOR_H__
#define __PIR_SENSOR_H__
#include "lib/sensors.h"
extern const struct sensors_sensor pir_sensor;
#define PIR_SENSOR "PIR"
void pir_sensor_changed(int strength);
#endif /*
button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed