<commit_before>#ifndef __BOARD_H
#define __BOARD_H

#ifdef __cplusplus
extern "C" {
#endif

#define F_OSC0 12000000UL
#define F_OSC1 0UL

#define F_CPU 66000000UL

#define HSBMASK_DEFAULT 0xFFFFFFFF
#define PBAMASK_DEFAULT 0xFFFFFFFF
#define PBBMASK_DEFAULT 0xFFFFFFFF

void init_board(void);

#ifdef __cplusplus
}
#endif

#endif<commit_msg>Add adc settings and a function to calculate the conversion<commit_after>#ifndef __BOARD_H
#define __BOARD_H

#ifdef __cplusplus
extern "C" {
#endif

#define ADC_VREF 3.0
#define ADC_BITS 10

#define F_CPU 66000000UL
#define F_OSC0 12000000UL
#define F_OSC1 0UL

#define HSBMASK_DEFAULT 0xFFFFFFFF
#define PBAMASK_DEFAULT 0xFFFFFFFF
#define PBBMASK_DEFAULT 0xFFFFFFFF

void init_board(void);

static inline double cnv2volt(uint16_t cnv)
{
	return cnv * (ADC_VREF / (1U << ADC_BITS));
}

#ifdef __cplusplus
}
#endif

#endif
{'fraction_non_alphanumeric': 0.07184241019698726, 'fraction_numerical': 0.06025492468134415, 'mean_word_length': 6.384615384615385, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5942711', 'n_tokens_mistral': 384, 'n_tokens_neox': 332, 'n_words': 90}