rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Data Fields
COMPConfig Struct Reference

Driver configuration structure. More...

#include <hal_comp_lld.h>

Collaboration diagram for COMPConfig:
Collaboration graph
[legend]

Data Fields

comp_output_mode_t output_mode
 Ouput mode.
 
comp_irq_mode_t irq_mode
 Ouput mode.
 
compcallback_t cb
 Callback.
 
uint32_t csr
 COMP CSR register initialization data.
 

Detailed Description

Driver configuration structure.

Note
It could be empty on some architectures.

Definition at line 160 of file hal_comp_lld.h.

Field Documentation

◆ cb

compcallback_t COMPConfig::cb

Callback.

Definition at line 174 of file hal_comp_lld.h.

Referenced by comp_lld_irq_handler().

◆ csr

uint32_t COMPConfig::csr

COMP CSR register initialization data.

Note
The value of this field should normally be equal to zero.

Definition at line 182 of file hal_comp_lld.h.

◆ irq_mode

comp_irq_mode_t COMPConfig::irq_mode

Ouput mode.

Definition at line 169 of file hal_comp_lld.h.

Referenced by comp_lld_enable().

◆ output_mode

comp_output_mode_t COMPConfig::output_mode

Ouput mode.

Definition at line 164 of file hal_comp_lld.h.

Referenced by comp_lld_start().


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