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

One AGT channel: a 16-bit reloading down-counter + status. More...

Data Fields

uint16_t counter
 Live AGT count.
uint16_t reload
 Value last written to AGT.
uint16_t cmpa
 AGTCMA compare-match A.
uint16_t cmpb
 AGTCMB compare-match B.
uint8_t cr
 AGTCR control/status.
uint8_t mr1
 AGTMR1 mode 1.
uint32_t underflows
 Underflow event count.

Detailed Description

One AGT channel: a 16-bit reloading down-counter + status.

Definition at line 128 of file board_periph_timer.c.

Field Documentation

◆ cmpa

uint16_t agt_state_t::cmpa

AGTCMA compare-match A.

Definition at line 131 of file board_periph_timer.c.

Referenced by internal_agt_reg_read(), and internal_agt_reg_write().

◆ cmpb

uint16_t agt_state_t::cmpb

AGTCMB compare-match B.

Definition at line 132 of file board_periph_timer.c.

Referenced by internal_agt_reg_read(), and internal_agt_reg_write().

◆ counter

uint16_t agt_state_t::counter

Live AGT count.

Definition at line 129 of file board_periph_timer.c.

Referenced by internal_agt_reg_read(), internal_agt_reg_write(), and internal_agt_tick_channel().

◆ cr

uint8_t agt_state_t::cr

AGTCR control/status.

Definition at line 133 of file board_periph_timer.c.

Referenced by internal_agt_reg_read(), internal_agt_reg_write(), and internal_agt_tick_channel().

◆ mr1

uint8_t agt_state_t::mr1

AGTMR1 mode 1.

Definition at line 134 of file board_periph_timer.c.

Referenced by internal_agt_reg_read(), and internal_agt_reg_write().

◆ reload

uint16_t agt_state_t::reload

Value last written to AGT.

Definition at line 130 of file board_periph_timer.c.

Referenced by internal_agt_reg_write(), and internal_agt_tick_channel().

◆ underflows

uint32_t agt_state_t::underflows

Underflow event count.

Definition at line 135 of file board_periph_timer.c.

Referenced by internal_agt_tick_channel().


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