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

One GPT channel: a 32-bit saw up-counter + status. More...

Data Fields

uint32_t cnt
 GTCNT live count.
uint32_t period
 GTPR period.
uint32_t cr
 GTCR (CST in bit0).
uint32_t st
 GTST status flags.
uint32_t overflows
 Overflow event count.

Detailed Description

One GPT channel: a 32-bit saw up-counter + status.

Definition at line 139 of file board_periph_timer.c.

Field Documentation

◆ cnt

uint32_t gpt_state_t::cnt

GTCNT live count.

Definition at line 140 of file board_periph_timer.c.

Referenced by internal_gpt_reg_read(), internal_gpt_reg_write(), and internal_gpt_tick_channel().

◆ cr

uint32_t gpt_state_t::cr

GTCR (CST in bit0).

Definition at line 142 of file board_periph_timer.c.

Referenced by internal_gpt_reg_read(), internal_gpt_reg_write(), and internal_gpt_tick_channel().

◆ overflows

uint32_t gpt_state_t::overflows

Overflow event count.

Definition at line 144 of file board_periph_timer.c.

Referenced by internal_gpt_tick_channel().

◆ period

uint32_t gpt_state_t::period

GTPR period.

Definition at line 141 of file board_periph_timer.c.

Referenced by internal_gpt_reg_read(), internal_gpt_reg_write(), and internal_gpt_tick_channel().

◆ st

uint32_t gpt_state_t::st

GTST status flags.

Definition at line 143 of file board_periph_timer.c.

Referenced by internal_gpt_reg_read(), internal_gpt_reg_write(), and internal_gpt_tick_channel().


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