APM:Libraries
Namespaces | Functions | Variables
system.cpp File Reference
#include <stdarg.h>
#include <stdio.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/system.h>
#include "Scheduler.h"
#include <AP_Param_Helper/AP_Param_Helper.h>
Include dependency graph for system.cpp:

Go to the source code of this file.

Namespaces

 AP_HAL
 

Functions

void AP_HAL::cond_yield ()
 
void AP_HAL::init ()
 Generic board initialization function. More...
 
void AP_HAL::panic (const char *errormsg,...) FMT_PRINTF(1
 
uint32_t AP_HAL::millis ()
 
uint64_t AP_HAL::millis64 ()
 
uint32_t AP_HAL::micros ()
 
uint64_t AP_HAL::micros64 ()
 
void AP_HAL::delay (uint32_t ms)
 
void AP_HAL::delay_microseconds (uint16_t us)
 
void AP_HAL::yield (uint32_t us)
 
unsigned char getch (void)
 
int _read (int fd, char *buf, size_t cnt)
 
void putch (unsigned char c)
 
int printf (const char *msg,...)
 

Variables

const AP_HAL::HALhal
 -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More...
 

Function Documentation

◆ _read()

int _read ( int  fd,
char *  buf,
size_t  cnt 
)

Definition at line 126 of file system.cpp.

Referenced by get_stack_top(), Linux::CAN::RxItem::RxItem(), and AP_HAL::yield().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getch()

unsigned char getch ( void  )

Definition at line 120 of file system.cpp.

Referenced by cgets(), get_stack_top(), and AP_HAL::yield().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ printf()

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

Definition at line 143 of file system.cpp.

Referenced by AP_HAL::yield().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putch()

void putch ( unsigned char  c)

Definition at line 139 of file system.cpp.

Referenced by _write(), get_stack_top(), and AP_HAL::yield().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ hal

const AP_HAL::HAL& hal

-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

Definition at line 14 of file AC_PID_test.cpp.