Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Led macro implementation for ChibiOS arch. More...
Go to the source code of this file.
Macros | |
#define | _LED_GPIO(i) i |
#define | _LED_GPIO_PIN(i) i |
#define | LED_GPIO(i) _LED_GPIO(LED_ ## i ## _GPIO) |
#define | LED_GPIO_PIN(i) _LED_GPIO_PIN(LED_ ## i ## _GPIO_PIN) |
#define | LED_INIT(i) {} |
#define | LED_ON(i) palClearPad(LED_GPIO(i), LED_GPIO_PIN(i)) |
#define | LED_OFF(i) palSetPad(LED_GPIO(i), LED_GPIO_PIN(i)) |
#define | LED_TOGGLE(i) palTogglePad(LED_GPIO(i), LED_GPIO_PIN(i)) |
#define | LED_PERIODIC() {} |
Led macro implementation for ChibiOS arch.
Definition in file led_hw.h.
#define LED_GPIO_PIN | ( | i | ) | _LED_GPIO_PIN(LED_ ## i ## _GPIO_PIN) |
#define LED_INIT | ( | i | ) | {} |
Definition at line 48 of file led_hw.h.
Referenced by bluegiga_init(), init_bat_checker(), init_demo(), init_light(), and led_init().
#define LED_OFF | ( | i | ) | palSetPad(LED_GPIO(i), LED_GPIO_PIN(i)) |
Definition at line 50 of file led_hw.h.
Referenced by baro_init(), bat_checker_periodic(), cam_periodic(), event_i2c_abuse_test(), fbw_datalink_periodic(), gps_init(), init_bat_checker(), init_demo(), init_light(), led_init(), logger_uart_periodic(), main_event(), main_periodic(), opa_controller_init(), opa_controller_periodic(), periodic_light(), radio_control_periodic_task(), srf08_receive(), stereocam_droplet_periodic(), stop_demo(), and tunnel_event().
#define LED_ON | ( | i | ) | palClearPad(LED_GPIO(i), LED_GPIO_PIN(i)) |
Definition at line 49 of file led_hw.h.
Referenced by ahrs_aligner_run(), baro_board_calibrate(), baro_periodic(), bat_checker_periodic(), cam_periodic(), event_i2c_abuse_test(), fbw_datalink_event(), gps_mtk_read_message(), gps_skytraq_read_message(), gps_ubx_read_message(), gsm_init(), logger_uart_periodic(), main(), main_event(), main_periodic(), opa_controller_periodic(), parse_xsens_msg(), periodic_light(), radio_control_periodic_task(), srf08_initiate_ranging(), start_demo(), stereocam_droplet_periodic(), superbitrf_event(), and tunnel_event().
#define LED_PERIODIC | ( | ) | {} |
Definition at line 52 of file led_hw.h.
Referenced by handle_periodic_tasks_ap(), main_periodic(), and main_periodic_task().
#define LED_TOGGLE | ( | i | ) | palTogglePad(LED_GPIO(i), LED_GPIO_PIN(i)) |
Definition at line 51 of file led_hw.h.
Referenced by ahrs_aligner_run(), baro_board_calibrate(), baro_event(), baro_periodic(), bat_checker_periodic(), bluegiga_receive(), bmp_baro_event(), dl_parse_msg(), event_i2c_abuse_test(), gps_mtk_read_message(), gps_skytraq_read_message(), gps_ubx_read_message(), link_mcu_on_can_msg(), main(), main_event_task(), main_periodic(), main_periodic_task(), parse_ins_msg(), parse_mavpilot_msg(), parse_xsens700_msg(), parse_xsens_msg(), periodic_10Hz_demo(), periodic_1Hz_demo(), SPI1_ISR(), superbitrf_event(), sys_tick_handler(), sys_tick_irq_handler(), thd_startlog(), and TIMER0_ISR().