|
| static int8_t | clock_prescaler (uint32_t clock_freq) |
| |
| bool | cpu_config_clock (uint32_t cpu_freq, bool lock_clock, bool external_clock) |
| |
| void | cpu_config_clock_32Khz (uint8_t prescaler, bool lock_clock) |
| |
| bool | cpu_change_clock (uint32_t cpu_freq, bool lock_clock) |
| |
| void | cpu_clk_output (bool stay_on_loop, bool pin4_instead_of_7, uint8_t out_port) |
| |
| void | cpu_enable_int_level (uint8_t int_level) |
| |
| void | cpu_disable_int_level (uint8_t int_level) |
| |
| void | wdt_enable (uint8_t per) |
| |
| void | wdt_disable (void) |
| |
| void | wdt_reset_device (void) |
| |
| void | io_pin2in (PORT_t *port, uint8_t pin, uint8_t pull, uint8_t sense) |
| |
| void | io_pin2out (PORT_t *port, uint8_t pin, uint8_t out, bool input_en) |
| |
| void | io_pin2out_with_interrupt (PORT_t *port, uint8_t pin, uint8_t out, uint8_t sense) |
| |
| void | io_set_int (PORT_t *port, uint8_t int_level, uint8_t int_n, uint8_t mask, bool reset_mask) |
| |
| void | timer_type0_enable (TC0_t *timer, uint8_t prescaler, uint16_t target_count, uint8_t int_level) |
| |
| void | timer_type0_pwm (TC0_t *timer, uint8_t prescaler, uint16_t target_count, uint16_t duty_cycle_count, uint8_t int_level_ovf, uint8_t int_level_cca) |
| |
| void | timer_type0_set_target (TC0_t *timer, uint16_t target_count) |
| |
| bool | timer_type0_get_flag (TC0_t *timer) |
| |
| void | timer_type0_reset_flag (TC0_t *timer) |
| |
| void | timer_type0_stop (TC0_t *timer) |
| |
| void | timer_type0_set_counter (TC0_t *timer, uint16_t counter) |
| |
| void | timer_type0_wait (TC0_t *timer, uint8_t prescaler, uint16_t target_count) |
| |
| bool | calculate_timer_16bits (uint32_t f_cpu, float freq, uint8_t *timer_prescaler, uint16_t *timer_target_count) |
| |
| void | timer_type1_enable (TC1_t *timer, uint8_t prescaler, uint16_t target_count, uint8_t int_level) |
| |
| void | timer_type1_set_target (TC1_t *timer, uint16_t target_count) |
| |
| bool | timer_type1_get_flag (TC1_t *timer) |
| |
| void | timer_type1_reset_flag (TC1_t *timer) |
| |
| void | timer_type1_stop (TC1_t *timer) |
| |
| void | timer_type1_set_counter (TC1_t *timer, uint16_t counter) |
| |
| void | timer_type1_wait (TC1_t *timer, uint8_t prescaler, uint16_t target_count) |
| |
| bool | eeprm_is_busy (void) |
| |
| uint8_t | eeprom_rd_byte (uint16_t addr) |
| |
| void | eeprom_wr_byte (uint16_t addr, uint8_t byte) |
| |
| void | eeprom_wr_i16 (uint16_t addr, int16_t _16b) |
| |
| void | eeprom_wr_i32 (uint16_t addr, int32_t _32b) |
| |
| int16_t | eeprom_rd_i16 (uint16_t addr) |
| |
| int32_t | eeprom_rd_i32 (uint16_t addr) |
| |
| void | adc_A_initialize_single_ended (uint8_t analog_reference) |
| |
| int16_t | adc_A_read_channel (uint8_t index) |
| |
| void | adc_A_calibrate_offset (uint8_t index) |
| |
| uint16_t | adcA_unsigned_single_ended (ADC_t *adc, uint8_t res, uint8_t ref, uint8_t prescaler, uint8_t adc_pin, TC0_t *timer) |
| |