38 #define ABP_DEFAULT_ADDRESS 0x28 39 #define OUTPUT_10_PERCENT_COUNT 1638 40 #define OUTPUT_90_PERCENT_COUNT 14746 41 #define ABP_PRESSURE_MAX 5 42 #define ABP_PRESSURE_MIN 0 43 #define ABP_PRESSURE_HIGH_BYTE_MASK 0x3f 44 #define ABP_TEMPERATURE_LOW_BYTE_SHIFT 5 45 #define ABP_TEMPERATURE_MASK 0x7ff 51 DIAGNOSTIC } ABP_STATUS;
void abp_close(abp_context dev)
Definition: abp.c:67
float abp_get_temperature(abp_context dev)
Definition: abp.c:129
void abp_set_min_pressure(abp_context dev, int min)
Definition: abp.c:75
float abp_get_pressure(abp_context dev)
Definition: abp.c:109
upm_result_t abp_update(abp_context dev)
Definition: abp.c:79
abp_context abp_init(int bus, uint8_t dev_address)
Definition: abp.c:26
void abp_set_max_pressure(abp_context dev, int max)
Definition: abp.c:71