|
CANopen Slave Documentation
Version 7.00.02
|
The functions defined in this header file provide a generic API for access to a microcontroller. This includes initialisation, reset and retrieving the current CPU clock.
Include dependency graph for mc_cpu.h:Functions | |
| void | McCpuInit (void) |
| uint32_t | McCpuGetBusClock (void) |
| uint32_t | McCpuGetClock (void) |
| void | McCpuReleaseIrq (void) |
| void | McCpuReset (void) |
| uint32_t McCpuGetBusClock | ( | void | ) |
The function returns the BUS clock frequency in Hertz.
| uint32_t McCpuGetClock | ( | void | ) |
The function returns the CPU / MCU clock frequency in Hertz.
| void McCpuInit | ( | void | ) |
Perform basic initialisation of the CPU / MCU. This includes:
| void McCpuReleaseIrq | ( | void | ) |
The function disables all interrupts and also clears any pending interrupts of the CPU / MCU.
| void McCpuReset | ( | void | ) |
The function will issue a reset of the CPU / MCU.