APM:Libraries
Namespaces | Macros | Enumerations | Functions | Variables
system.cpp File Reference
#include <stdarg.h>
#include <stdio.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/system.h>
#include <ch.h>
#include "hal.h"
#include <hrt.h>
Include dependency graph for system.cpp:

Go to the source code of this file.

Namespaces

 AP_HAL
 

Macros

#define bkpt()   __asm volatile("BKPT #0\n")
 

Enumerations

enum  FaultType {
  Reset = 1, NMI = 2, HardFault = 3, MemManage = 4,
  BusFault = 5, UsageFault = 6
}
 

Functions

void __cxa_pure_virtual (void)
 
void NMI_Handler (void)
 
void HardFault_Handler (void)
 
void BusFault_Handler (void) __attribute__((alias("HardFault_Handler")))
 
void UsageFault_Handler (void)
 
void MemManage_Handler (void)
 
void AP_HAL::init ()
 Generic board initialization function. More...
 
void AP_HAL::panic (const char *errormsg,...) FMT_PRINTF(1
 
uint32_t AP_HAL::micros ()
 
uint32_t AP_HAL::millis ()
 
uint64_t AP_HAL::micros64 ()
 
uint64_t AP_HAL::millis64 ()
 

Variables

const AP_HAL::HALhal
 
void * __dso_handle
 

Macro Definition Documentation

◆ bkpt

#define bkpt ( )    __asm volatile("BKPT #0\n")

Definition at line 29 of file system.cpp.

Enumeration Type Documentation

◆ FaultType

enum FaultType
Enumerator
Reset 
NMI 
HardFault 
MemManage 
BusFault 
UsageFault 

Definition at line 30 of file system.cpp.

Function Documentation

◆ __cxa_pure_virtual()

void __cxa_pure_virtual ( void  )

Definition at line 42 of file system.cpp.

Here is the call graph for this function:

◆ BusFault_Handler()

void BusFault_Handler ( void  )

Referenced by HardFault_Handler().

Here is the caller graph for this function:

◆ HardFault_Handler()

void HardFault_Handler ( void  )

Definition at line 48 of file system.cpp.

Referenced by NMI_Handler().

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

◆ MemManage_Handler()

void MemManage_Handler ( void  )

Definition at line 107 of file system.cpp.

Referenced by UsageFault_Handler().

Here is the caller graph for this function:

◆ NMI_Handler()

void NMI_Handler ( void  )

Definition at line 45 of file system.cpp.

Referenced by __cxa_pure_virtual().

Here is the caller graph for this function:

◆ UsageFault_Handler()

void UsageFault_Handler ( void  )

Definition at line 79 of file system.cpp.

Referenced by HardFault_Handler().

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

Variable Documentation

◆ __dso_handle

void* __dso_handle

Definition at line 39 of file system.cpp.

◆ hal

const AP_HAL::HAL& hal

Definition at line 14 of file AC_PID_test.cpp.