Hardware Abstraction Layer (HAL)
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
mtb_hal_clock_t Struct Reference

Description

Clock object Application shall provide implementations for the functions needed by the clock object.

They are considered an implementation detail which is subject to change between platforms and/or devices.

Data Fields

const void * clock_ref
 Pointer that is passed to all interface functions. More...
 
const mtb_hal_clock_interface_tinterface
 Struct of interface functions that should be used with this clock.
 

Field Documentation

◆ clock_ref

const void* mtb_hal_clock_t::clock_ref

Pointer that is passed to all interface functions.

In a typical case, this points to an instance of either mtb_hal_peri_div_t or mtb_hal_hf_clock_t

◆ interface

const mtb_hal_clock_interface_t* mtb_hal_clock_t::interface

Struct of interface functions that should be used with this clock.