-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Add new board canmv_k120_zero (#44)
* Add support for sensor pgd030k. * Add new board canmv_k210_zero. * disable actions run tests
- Loading branch information
1 parent
d2fad69
commit 959328a
Showing
21 changed files
with
2,292 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* mt9d111.h | ||
* | ||
* Copyright (C) 2018, Gabriel Mariano Marcelino <[email protected]> | ||
* | ||
* This file is part of MT9D111-Driver. | ||
* | ||
* MT9D111-Driver is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* MT9D111-Driver 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 Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with MT9D111-Driver. If not, see <http://www.gnu.org/licenses/>. | ||
* | ||
*/ | ||
|
||
#ifndef PGD030K_H | ||
#define PGD030K_H | ||
|
||
#include <stdint.h> | ||
|
||
#include "sensor.h" | ||
|
||
// I2C addresses | ||
#define PGD030K_I2C_ADDR 0x33 /* DVP, fixed to 0x66 */ | ||
|
||
// Device ID code | ||
#define PGD030K_ID_CODE 0xD030 | ||
|
||
int pgd030k_init(sensor_t *sensor); | ||
|
||
#endif // PGD030K_H |
Oops, something went wrong.