APM:Libraries
Functions
hal.h File Reference
#include <errno.h>
#include "hal_types.h"
#include "stm32.h"
#include "stopwatch.h"
#include "util.h"
#include "gpio_hal.h"
#include "delay.h"
#include "adc.h"
#include "systick.h"
#include "nvic.h"
#include "mpu.h"
#include <boards.h>
Include dependency graph for hal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void clock_gettime (uint32_t a1, void *a2)
 
void revo_call_handler (Handler h, uint32_t arg)
 
void hal_yield (uint16_t ttw)
 
void hal_delay (uint16_t t)
 
void hal_delay_microseconds (uint16_t t)
 
void hal_isr_time (uint32_t t)
 
uint32_t hal_micros ()
 
int printf (const char *msg,...)
 

Function Documentation

◆ clock_gettime()

void clock_gettime ( uint32_t  a1,
void *  a2 
)

Definition at line 201 of file syscalls.c.

Referenced by Linux::RCOutput_Bebop::_run_rcout(), dsm_decode(), AP_HAL::Util::get_system_clock_ms(), now_nsec(), Linux::OpticalFlow_Onboard::push_gyro(), and srxl_decode().

Here is the caller graph for this function:

◆ hal_delay()

void hal_delay ( uint16_t  t)

Definition at line 1431 of file Scheduler.cpp.

◆ hal_delay_microseconds()

void hal_delay_microseconds ( uint16_t  t)

Definition at line 1432 of file Scheduler.cpp.

Referenced by delay_10us(), delay_us(), delayMicroseconds(), USB_OTG_BSP_uDelay(), and Soft_I2C::wait_done().

Here is the caller graph for this function:

◆ hal_isr_time()

void hal_isr_time ( uint32_t  t)

Definition at line 1435 of file Scheduler.cpp.

◆ hal_micros()

uint32_t hal_micros ( )

◆ hal_yield()

void hal_yield ( uint16_t  ttw)

◆ printf()

int printf ( const char *  msg,
  ... 
)

Definition at line 113 of file stdio.c.

◆ revo_call_handler()

void revo_call_handler ( Handler  h,
uint32_t  arg 
)

Definition at line 1420 of file Scheduler.cpp.

Referenced by dispatch_handler(), dispatch_single_irq(), ev_handler(), exti_serv(), F4Light::I2CDevice::finish_transfer(), handle_irq(), isr_handler(), F4Light::SPIDevice::isr_transfer_finish(), pwmIRQHandler(), SysTick_Handler(), F4Light::SPIDevice::transfer(), and usart_rx_irq().

Here is the caller graph for this function: