BMLite_RPi/BMLite_example/inc/raspberry_pi_hal.h
Andrey Perminov ee1de8e94d Initial commit
Change-Id: If8b9b540c22ba2c72ec05e9f0fac8dc4499ded0b
2020-04-16 15:17:23 -07:00

33 lines
888 B
C

/*
* Copyright (c) 2020 Fingerprint Cards AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file Raspberry_pi_hal.h
* @brief Raspberry Pi HAL.
*/
#ifndef RASPBERRYPI_HAL_H
#define RASPBERRYPI_HAL_H
/*
* Pin definitions for RPI 3
*/
#define BMLITE_RESET_PIN 0
#define BMLITE_IRQ_PIN 22
#define SPI_CHANNEL 0
#endif /* RASPBERRYPI_HAL_H */