PER Firmware
Loading...
Searching...
No Matches
clamp_test_shim.h
Go to the documentation of this file.
1#ifndef CLAMP_TEST_SHIM_H
2#define CLAMP_TEST_SHIM_H
3
4#include <stdint.h>
5
6int test_CLAMP_int(int input, int lower_bound, int upper_bound);
7int8_t test_CLAMP_int8(int8_t input, int8_t lower_bound, int8_t upper_bound);
8int16_t test_CLAMP_int16(int16_t input, int16_t lower_bound, int16_t upper_bound);
9unsigned int test_CLAMP_uint(unsigned int input, unsigned int lower_bound, unsigned int upper_bound);
10uint8_t test_CLAMP_uint8(uint8_t input, uint8_t lower_bound, uint8_t upper_bound);
11uint16_t test_CLAMP_uint16(uint16_t input, uint16_t lower_bound, uint16_t upper_bound);
12long test_CLAMP_long(long input, long lower_bound, long upper_bound);
13unsigned long test_CLAMP_ulong(unsigned long input, unsigned long lower_bound, unsigned long upper_bound);
14float test_CLAMP_float(float input, float lower_bound, float upper_bound);
15
16#endif //CLAMP_TEST_SHIM_H
uint16_t test_CLAMP_uint16(uint16_t input, uint16_t lower_bound, uint16_t upper_bound)
Definition clamp_test_shim.c:31
int8_t test_CLAMP_int8(int8_t input, int8_t lower_bound, int8_t upper_bound)
Definition clamp_test_shim.c:15
uint8_t test_CLAMP_uint8(uint8_t input, uint8_t lower_bound, uint8_t upper_bound)
Definition clamp_test_shim.c:27
float test_CLAMP_float(float input, float lower_bound, float upper_bound)
Definition clamp_test_shim.c:43
long test_CLAMP_long(long input, long lower_bound, long upper_bound)
Definition clamp_test_shim.c:35
int16_t test_CLAMP_int16(int16_t input, int16_t lower_bound, int16_t upper_bound)
Definition clamp_test_shim.c:19
unsigned long test_CLAMP_ulong(unsigned long input, unsigned long lower_bound, unsigned long upper_bound)
Definition clamp_test_shim.c:39
unsigned int test_CLAMP_uint(unsigned int input, unsigned int lower_bound, unsigned int upper_bound)
Definition clamp_test_shim.c:23
int test_CLAMP_int(int input, int lower_bound, int upper_bound)
Definition clamp_test_shim.c:11