Skip to content

Class CompHAL

ClassList > CompHAL

Handles comparator 1 and 3 of the SPIN board. More...

  • #include <CompHAL.h>

Public Functions

Type Name
void initialize (uint8_t comparator_number)
Initializes a comparator for the current mode control.

Detailed Description

Note:

Use this element to call the initialization function of either comparator

Public Functions Documentation

function initialize

Initializes a comparator for the current mode control.

void CompHAL::initialize (
    uint8_t comparator_number
) 

Note:

Current mode control deploys a comparator together with a DAC.

Parameters:

  • comparator_number can be either 1 or 3


The documentation for this class was generated from the following file docs/core/zephyr/modules/owntech_spin_api/zephyr/src/CompHAL.h