주석 정리

This commit is contained in:
2026-06-30 18:20:39 +09:00
parent a01c0fb01b
commit 822789ff82
5 changed files with 92 additions and 15 deletions
+1 -3
View File
@@ -76,9 +76,7 @@ int imu_fifo_start(void);
* @param out_count 실제 저장한 샘플 수
* @return 0 성공, 음수 에러
*/
int imu_fifo_read_latest(uint8_t *sample_bytes,
uint16_t max_samples,
uint16_t *out_count);
int imu_fifo_read_latest(uint8_t *sample_bytes, uint16_t max_samples, uint16_t *out_count);
/**
* @brief Return whether IMU FIFO streaming is active.
+3 -3
View File
@@ -246,7 +246,7 @@ void piezo_burst_sw(uint8_t cycles)
/* 구동 Enable 전 초기 Low 정렬 */
NRF_P0->OUTCLR = piezo_pe_mask;
NRF_P1->OUT = p1_all_low;
NRF_P0->OUTSET = piezo_pe_mask;
NRF_P0->OUTSET = piezo_pe_mask; /* PE High */
for (uint8_t i = 0; i < cycles; i++)
{
@@ -261,10 +261,10 @@ void piezo_burst_sw(uint8_t cycles)
/* 잔류 전하 방전 */
NRF_P1->OUT = p1_dmp_high;
nop_delay_32();
nop_delay_32(); /* DMP High 폭 */
/* 출력 Low 복귀 */
NRF_P1->OUT = p1_all_low;
NRF_P0->OUTCLR = piezo_pe_mask;
NRF_P0->OUTCLR = piezo_pe_mask; /* PE Low */
irq_unlock(key);
}