![]() |
ADS_BP
|
#include <stdint.h>
#include <stdbool.h>
#include "arm_math.h"
#include "driverlib/uart.h"
#include "driverlib/pwm.h"
#include "driverlib/adc.h"
#include "inc/hw_ints.h"
#include "driverlib/interrupt.h"
#include "inc/hw_timer.h"
#include "driverlib/timer.h"
#include "inc/hw_memmap.h"
#include "ADS1299.h"
Go to the source code of this file.
Functions | |
void | ResetFilterArrays (unsigned char nCh) |
Needed to reset the history of the filters and delete the previous states. More... | |
float32_t | FilterSample (float32_t inData, unsigned char filterIndex) |
It calls the routines for filtering a new sample. More... | |
void | UARTReceive4Bytes (uint32_t *ptr) |
This function can be used to easily handle the reception on the UART of 4bytes sized variables, e. g. float. More... | |
void | UARTSend4Bytes (unsigned char *ptr) |
This function can be used to easily handle the transmit on the UART of 4bytes sized variables, e. g. float. More... | |
void | UARTSendByte (unsigned char byte) |
This function can be used to easily handle the transmission on the UART of one byte. It is meant for the application of flow control. More... | |
Header file of process module of the ALC-D project.
----------------— Function Description ---------------— The process.h file contains all defines, structures and prototypes needed for the process.c file. ----------------------— Updates ----------------------—
2015-10-01 / Enzo Mastinu / Creation
float32_t FilterSample | ( | float32_t | inData, |
unsigned char | filterIndex | ||
) |
It calls the routines for filtering a new sample.
[in] | inData | float input value |
[in] | filterIndex | index of the channel which the sample belongs |
This function contains the routines needed to apply digital filters to the data in a on-fly technique. This means that the latest acquired sample is passed through the filters and the filtered version is returned by this function.
Measured Execution Time @80MHz: 13/07/2016 -> 3 us
void ResetFilterArrays | ( | unsigned char | nCh | ) |
Needed to reset the history of the filters and delete the previous states.
[in] | nCh | number of channels |
Measured Execution Time @80MHz: 13/07/2016 -> 16 us
void UARTReceive4Bytes | ( | uint32_t * | ptr | ) |
This function can be used to easily handle the reception on the UART of 4bytes sized variables, e. g. float.
[in] | *ptr | points the variable to receive |
void UARTSend4Bytes | ( | unsigned char * | ptr | ) |
This function can be used to easily handle the transmit on the UART of 4bytes sized variables, e. g. float.
[in] | *ptr | points the variable to send |
void UARTSendByte | ( | unsigned char | byte | ) |
This function can be used to easily handle the transmission on the UART of one byte. It is meant for the application of flow control.
[in] | byte | to send |