HRI board firmware  v2.1
Microcontroller firmware of the board used during the HRI labs.
Macros | Functions | Variables
hall.c File Reference
#include "hall.h"

Macros

#define HALL_AMPLI_GAIN   1.1f
 
#define HALL_VOLT_DIVIDER   0.5f
 

Functions

void hall_Init (AdcChannel channel)
 Initialize the hall sensor driver. More...
 
float32_t hall_GetVoltage (void)
 Return the Hall sensor output voltage. More...
 

Variables

AdcChannel hall_channel
 

Macro Definition Documentation

◆ HALL_AMPLI_GAIN

#define HALL_AMPLI_GAIN   1.1f

◆ HALL_VOLT_DIVIDER

#define HALL_VOLT_DIVIDER   0.5f

Variable Documentation

◆ hall_channel

AdcChannel hall_channel