ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_acmphs_cfg_t Struct Reference

Configuration descriptor for ra8_acmphs_channel_init. More...

#include <ra8_acmphs.h>

Data Fields

uint8_t ivpsel
 Plus-input select (CMPSEL0).
uint8_t ivrefsel
 Minus-input select (CMPSEL1).
ra8_acmphs_edge_t edge
 Edge detect mode.
bool filter_en
 True -> enable filter.
bool invert_out
 True -> invert output.

Detailed Description

Configuration descriptor for ra8_acmphs_channel_init.

cppcheck cannot see tests/ so it flags every field as unused; each member is read in ra8_acmphs_channel_init in libs/ra8_hal/src/ra8_acmphs.c.

Definition at line 51 of file ra8_acmphs.h.

Field Documentation

◆ edge

ra8_acmphs_edge_t ra8_acmphs_cfg_t::edge

Edge detect mode.

Definition at line 54 of file ra8_acmphs.h.

Referenced by ra8_acmphs_channel_init().

◆ filter_en

bool ra8_acmphs_cfg_t::filter_en

True -> enable filter.

Definition at line 55 of file ra8_acmphs.h.

Referenced by ra8_acmphs_channel_init().

◆ invert_out

bool ra8_acmphs_cfg_t::invert_out

True -> invert output.

Definition at line 56 of file ra8_acmphs.h.

Referenced by ra8_acmphs_channel_init().

◆ ivpsel

uint8_t ra8_acmphs_cfg_t::ivpsel

Plus-input select (CMPSEL0).

Definition at line 52 of file ra8_acmphs.h.

Referenced by ra8_acmphs_channel_init().

◆ ivrefsel

uint8_t ra8_acmphs_cfg_t::ivrefsel

Minus-input select (CMPSEL1).

Definition at line 53 of file ra8_acmphs.h.

Referenced by ra8_acmphs_channel_init().


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