no-OS
Loading...
Searching...
No Matches
latt_timer_desc Struct Reference

Lattice specific timer descriptor. More...

#include <riscvrx_timer.h>

Public Attributes

enum latt_timer_source type
 
priv_e mode
 
void(* callback )(void *)
 
void * callback_ctx
 
bool running
 

Detailed Description

Lattice specific timer descriptor.

Member Data Documentation

◆ callback

void(* latt_timer_desc::callback) (void *)

User callback function.

◆ callback_ctx

void* latt_timer_desc::callback_ctx

User callback context pointer.

◆ mode

priv_e latt_timer_desc::mode

Privilege mode used by CLINT handler installation.

◆ running

bool latt_timer_desc::running

Timer running state.

◆ type

enum latt_timer_source latt_timer_desc::type

Timer source type.


The documentation for this struct was generated from the following file: