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

One modelled ULPT channel: a 32-bit reloading down-counter + status. More...

Data Fields

uint32_t counter
 Live ULPTCNT count.
uint32_t reload
 Value last written to ULPTCNT.
uint32_t cmpa
 ULPTCMA compare match A.
uint32_t cmpb
 ULPTCMB compare match B.
uint8_t cr
 ULPTCR control / status.
uint8_t mr1
 ULPTMR1 mode 1.
uint8_t mr2
 ULPTMR2 mode 2.
uint8_t mr3
 ULPTMR3 mode 3.
uint8_t ioc
 ULPTIOC I/O control.
uint32_t underflows
 Underflow event count (report).

Detailed Description

One modelled ULPT channel: a 32-bit reloading down-counter + status.

Definition at line 138 of file board_periph_ulpt.c.

Field Documentation

◆ cmpa

uint32_t ulpt_channel_t::cmpa

ULPTCMA compare match A.

Definition at line 141 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), and internal_ulpt_write().

◆ cmpb

uint32_t ulpt_channel_t::cmpb

ULPTCMB compare match B.

Definition at line 142 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), and internal_ulpt_write().

◆ counter

uint32_t ulpt_channel_t::counter

◆ cr

uint8_t ulpt_channel_t::cr

ULPTCR control / status.

Definition at line 143 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), internal_ulpt_report(), internal_ulpt_tick_channel(), and internal_ulpt_write_cr().

◆ ioc

uint8_t ulpt_channel_t::ioc

ULPTIOC I/O control.

Definition at line 147 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), and internal_ulpt_write().

◆ mr1

uint8_t ulpt_channel_t::mr1

ULPTMR1 mode 1.

Definition at line 144 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), and internal_ulpt_write().

◆ mr2

uint8_t ulpt_channel_t::mr2

ULPTMR2 mode 2.

Definition at line 145 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), and internal_ulpt_write().

◆ mr3

uint8_t ulpt_channel_t::mr3

ULPTMR3 mode 3.

Definition at line 146 of file board_periph_ulpt.c.

Referenced by internal_ulpt_cell_value(), and internal_ulpt_write().

◆ reload

uint32_t ulpt_channel_t::reload

Value last written to ULPTCNT.

Definition at line 140 of file board_periph_ulpt.c.

Referenced by internal_ulpt_tick_channel(), and internal_ulpt_write().

◆ underflows

uint32_t ulpt_channel_t::underflows

Underflow event count (report).

Definition at line 148 of file board_periph_ulpt.c.

Referenced by internal_ulpt_report(), and internal_ulpt_tick_channel().


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