TLx493D 3D Hall Sensor Generic Library
1.3
Generic library for the TLx493D 3D Hall sensor family
src
xmc1100
gpio
gpio.h
Go to the documentation of this file.
1
/*
2
*****************************************************************************
3
* Copyright (C) 2019 Infineon Technologies AG. All rights reserved.
4
*
5
* Infineon Technologies AG (INFINEON) is supplying this file for use
6
* exclusively with Infineon's products. This file can be freely
7
* distributed within development tools and software supporting such microcontroller
8
* products.
9
*
10
* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
11
* OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
12
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
13
* INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR DIRECT, INDIRECT, INCIDENTAL,
14
* ASPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
15
*
16
******************************************************************************
17
*/
18
23
#ifndef SRC_XMC1100_GPIO_GPIO_H_
24
#define SRC_XMC1100_GPIO_GPIO_H_
25
26
#include <stdbool.h>
27
30
void
GPIO_sensor_supply
(
bool
on);
31
38
void
GPIO_set_addr_wait
(
bool
high);
39
40
#endif
/* SRC_XMC1100_GPIO_GPIO_H_ */
GPIO_sensor_supply
void GPIO_sensor_supply(bool on)
Set the sensor supply voltage and the discrete I2C bus pull-up resistors voltage HIGH or LOW...
Definition:
gpio.c:36
GPIO_set_addr_wait
void GPIO_set_addr_wait(bool high)
Configure the ADDR pin logical level at startup.
Definition:
gpio.c:74
Generated by
1.8.14