Go to the source code of this file.
Defines | |
#define | GLOBAL_IRQ_ARE_MASKED() (!(bit_is_set(SREG,7))) |
#define | IRQ_LOCK(flags) |
#define | IRQ_UNLOCK(flags) |
#define GLOBAL_IRQ_ARE_MASKED | ( | ) | (!(bit_is_set(SREG,7))) |
#define IRQ_LOCK | ( | flags | ) |
Value:
do { \ flags = SREG; \ cli(); \ } while(0)
Definition at line 54 of file irq_lock.h.
Referenced by adc_register_event(), AX12_send(), bd_init(), bd_reset(), bd_set_current_thresholds(), bd_set_speed_threshold(), biquad_flush_memories(), biquad_init(), biquad_set_deniminator_coeffs(), biquad_set_divisor_shifts(), biquad_set_numerator_coeffs(), biquad_set_series_son(), brushless_0_get_mesures(), brushless_0_register_periodic_event(), brushless_0_set_parameters(), brushless_0_set_position(), brushless_1_get_mesures(), brushless_1_register_periodic_event(), brushless_1_set_parameters(), brushless_1_set_position(), brushless_speed_update_manage(), cs_get_consign(), cs_get_error(), cs_get_filtered_consign(), cs_get_filtered_feedback(), cs_get_out(), cs_init(), cs_set_consign(), cs_set_consign_filter(), cs_set_correct_filter(), cs_set_feedback_filter(), cs_set_process_in(), cs_set_process_out(), encoders_microb_get_value(), encoders_microb_init(), encoders_microb_manage(), encoders_microb_set_value(), encoders_spi_get_value(), encoders_spi_manage(), encoders_spi_set_value(), error_init(), error_register_debug(), error_register_emerg(), error_register_error(), error_register_notice(), error_register_warning(), i2c_flush(), i2c_get_recv_buffer(), i2c_init(), i2c_recv(), i2c_register_recv_byte_event(), i2c_register_recv_event(), i2c_register_send_event(), i2c_reset(), i2c_send(), i2c_set_recv_size(), initial_8_bit_write(), mf2_client_init(), mf2_client_register_rx_event(), mf2_client_register_tx_event(), mf2_client_send(), mf2_server_register_rx_event(), mf2_server_register_tx_event(), mf2_server_send(), multiservo_add(), multiservo_del(), multiservo_init(), multiservo_set(), pid_get_value_D(), pid_get_value_I(), pid_get_value_in(), pid_get_value_out(), pid_init(), pid_reset(), pid_set_derivate_filter(), pid_set_gains(), pid_set_maximums(), pid_set_out_shift(), position_init(), position_manage(), position_set(), position_set_physical_params(), position_set_related_robot_system(), position_use_ext(), quadramp_derivate_init(), quadramp_derivate_set_1st_order_vars(), quadramp_derivate_set_2nd_order_vars(), quadramp_derivate_set_divisor(), quadramp_derivate_set_gain_anticipation(), quadramp_derivate_set_goal_window(), quadramp_init(), quadramp_set_1st_order_vars(), quadramp_set_2nd_order_vars(), ramp_init(), ramp_set_vars(), rs_get_angle(), rs_get_distance(), rs_get_ext_angle(), rs_get_ext_distance(), rs_get_ext_left(), rs_get_ext_right(), rs_init(), rs_set_angle(), rs_set_distance(), rs_set_flags(), rs_set_left_ext_encoder(), rs_set_left_pwm(), rs_set_right_ext_encoder(), rs_set_right_pwm(), rs_update(), scheduler_add_event(), scheduler_del_event(), SIGNAL(), time_get_s(), time_get_time(), time_get_us(), time_get_us2(), time_increment(), time_reset(), time_set(), timer_init(), trajectory_init(), trajectory_set_cs(), trajectory_set_robot_params(), trajectory_set_speed(), trajectory_set_windows(), uart_9bits_recv_nowait(), uart_getconf(), uart_recv_nowait(), uart_register_rx_event(), uart_register_tx_event(), uart_send_9bits_nowait(), uart_send_nowait(), and uart_setconf().
#define IRQ_UNLOCK | ( | flags | ) |
Value:
do { \ SREG = flags; \ } while ( 0 )
Definition at line 59 of file irq_lock.h.
Referenced by adc_register_event(), AX12_send(), bd_init(), bd_reset(), bd_set_current_thresholds(), bd_set_speed_threshold(), biquad_flush_memories(), biquad_init(), biquad_set_deniminator_coeffs(), biquad_set_divisor_shifts(), biquad_set_numerator_coeffs(), biquad_set_series_son(), brushless_0_get_mesures(), brushless_0_register_periodic_event(), brushless_0_set_parameters(), brushless_0_set_position(), brushless_1_get_mesures(), brushless_1_register_periodic_event(), brushless_1_set_parameters(), brushless_1_set_position(), brushless_speed_update_manage(), cs_get_consign(), cs_get_error(), cs_get_filtered_consign(), cs_get_filtered_feedback(), cs_get_out(), cs_init(), cs_set_consign(), cs_set_consign_filter(), cs_set_correct_filter(), cs_set_feedback_filter(), cs_set_process_in(), cs_set_process_out(), encoders_microb_get_value(), encoders_microb_init(), encoders_microb_manage(), encoders_microb_set_value(), encoders_spi_get_value(), encoders_spi_manage(), encoders_spi_set_value(), error_init(), error_register_debug(), error_register_emerg(), error_register_error(), error_register_notice(), error_register_warning(), i2c_flush(), i2c_get_recv_buffer(), i2c_init(), i2c_recv(), i2c_register_recv_byte_event(), i2c_register_recv_event(), i2c_register_send_event(), i2c_reset(), i2c_send(), i2c_set_recv_size(), initial_8_bit_write(), mf2_client_init(), mf2_client_register_rx_event(), mf2_client_register_tx_event(), mf2_client_send(), mf2_server_register_rx_event(), mf2_server_register_tx_event(), mf2_server_send(), multiservo_add(), multiservo_del(), multiservo_init(), multiservo_set(), pid_get_value_D(), pid_get_value_I(), pid_get_value_in(), pid_get_value_out(), pid_init(), pid_reset(), pid_set_derivate_filter(), pid_set_gains(), pid_set_maximums(), pid_set_out_shift(), position_init(), position_manage(), position_set(), position_set_physical_params(), position_set_related_robot_system(), position_use_ext(), quadramp_derivate_init(), quadramp_derivate_set_1st_order_vars(), quadramp_derivate_set_2nd_order_vars(), quadramp_derivate_set_divisor(), quadramp_derivate_set_gain_anticipation(), quadramp_derivate_set_goal_window(), quadramp_init(), quadramp_set_1st_order_vars(), quadramp_set_2nd_order_vars(), ramp_init(), ramp_set_vars(), rs_get_angle(), rs_get_distance(), rs_get_ext_angle(), rs_get_ext_distance(), rs_get_ext_left(), rs_get_ext_right(), rs_init(), rs_set_angle(), rs_set_distance(), rs_set_flags(), rs_set_left_ext_encoder(), rs_set_left_pwm(), rs_set_right_ext_encoder(), rs_set_right_pwm(), rs_update(), scheduler_add_event(), scheduler_del_event(), SIGNAL(), time_get_s(), time_get_time(), time_get_us(), time_get_us2(), time_increment(), time_reset(), time_set(), timer_init(), trajectory_init(), trajectory_set_cs(), trajectory_set_robot_params(), trajectory_set_speed(), trajectory_set_windows(), uart_9bits_recv_nowait(), uart_getconf(), uart_recv_nowait(), uart_register_rx_event(), uart_register_tx_event(), uart_send_9bits_nowait(), uart_send_nowait(), and uart_setconf().