• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kaidokert / rm32
63%
main: 63%

Build:
Build:
LAST BUILD BRANCH: tmps
DEFAULT BRANCH: main
Repo Added 28 Apr 2026 02:48PM UTC
Token gSHfNNG4C2ue8Ih3dj51cwDeonsyNzdup regen
Build 247 Last
Files 34
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH pr23_1
branch: pr23_1
CHANGE BRANCH
x
Reset
Sync Branches
  • pr23_1
  • main
  • pr1
  • pr10_1
  • pr11_1
  • pr12_1
  • pr13_1
  • pr14_1
  • pr15_1
  • pr16_1
  • pr17_1
  • pr18_1
  • pr19_1
  • pr20_1
  • pr21_1
  • pr22_1
  • pr24_1
  • pr25_1
  • pr26_1
  • pr27_1
  • pr28_1
  • pr29_1
  • pr2_1
  • pr2_2
  • pr2_3
  • pr2_4
  • pr2_5
  • pr2_6
  • pr2_7
  • pr2_ref
  • pr30_1
  • pr31_1
  • pr32_1
  • pr33_1
  • pr34_1
  • pr3_1
  • pr5_1
  • pr7_1
  • pr8_1
  • pr_codecov1
  • pr_codecov2
  • system-tick
  • tmps

01 May 2026 06:39AM UTC coverage: 62.673% (+0.6%) from 62.057%
25205329108

push

github

kaidokert
Make BemfState fields fully private, move logic from isr_logic.rs

Move BEMF logic into BemfState methods in state.rs:
- sync_config() — config sync from SharedComm
- update() — comparator sample processing (moved from bemf.rs)
- zero_cross_detected() — threshold check
- record_zero_cross() — timing + CI computation
- update_timing_from_timer() — commutation timer path
- record_zc_timing() — comparator ISR path
- reset_for_step(), reset_after_commutation() — counter resets
- com_timer_delay() — wait_time accessor

All 11 BemfState fields now private. bemf.rs reduced to tests only.
isr_logic.rs bemf_polling() now calls BemfState methods instead of
manipulating fields directly.

state.rs pub(crate) fields: 37 → 13 (BemfState 11 + DutyState 13 made private).

128 of 141 new or added lines in 3 files covered. (90.78%)

1 existing line in 1 file now uncovered.

3541 of 5650 relevant lines covered (62.67%)

779.23 hits per line

Relevant lines Covered
Build:
Build:
5650 RELEVANT LINES 3541 COVERED LINES
779.23 HITS PER LINE
Source Files on pr23_1
  • Tree
  • List 34
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25205329108 pr23_1 Make BemfState fields fully private, move logic from isr_logic.rs Move BEMF logic into BemfState methods in state.rs: - sync_config() — config sync from SharedComm - update() — comparator sample processing (moved from bemf.rs) - zero_cross_detect... push 01 May 2026 06:39AM UTC kaidokert github
62.67
25204436408 pr23_1 Extract magic numbers into named constants, use .min() for ceilings Add 8 named constants to constants.rs for ramp and brake logic: RAMP_VOLTAGE_LOW_MV, RAMP_VOLTAGE_HIGH_MV, RAMP_VOLTAGE_CHANGE_MAX, RAMP_VOLTAGE_CHANGE_MIN, RAMP_FAST_COMMUTATION... Pull #29 01 May 2026 06:02AM UTC kaidokert github
62.06
25204210268 pr23_1 Fix ramp profile: use average_interval not duty.last for RPM threshold Pre-existing bug: ramp_limit used self.last > 500 (duty cycle) to select between low/high RPM ramp rates. C code uses average_interval > 500 (timing-based RPM indicator). The ... Pull #29 01 May 2026 05:52AM UTC kaidokert github
62.1
25203712735 pr23_1 Extract PWM compare calculations into DutyState methods Move inline duty→PWM math from isr_logic.rs into DutyState: - pwm_compare(tim1_arr) — duty cycle to timer compare value - brake_compare(drag_brake_strength, tim1_arr) — proportional brake ou... Pull #29 01 May 2026 05:31AM UTC kaidokert github
61.76
25203491483 pr23_1 Make DutyState fields fully private, extract ISR logic into methods Move duty cycle logic from isr_logic.rs into DutyState methods: - compute_setpoint() — throttle-to-setpoint mapping with startup clamp - ramp_limit() — ramp rate limiting (was st... Pull #29 01 May 2026 05:22AM UTC kaidokert github
61.79
See All Builds (166)

Badge your Repo: rm32

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc