5 Commits

Author SHA1 Message Date
onexs-xsi deb57c9b84 1. Revise the definition of i2c_config_t and address related issues
2. Improve README Notes
3. update 1.0.5
2026-02-24 12:15:53 +08:00
onexs-xsi c1a6720c5a 1. API Changes:
- Add m5pm1_aw8737a_mode_t enum for semantic gain mode control (MODE_1 to MODE_4)
  - Add setAw8737aMode() and refreshAw8737aMode() as aliases for pulse functions
  - Add M5PM1_SNAPSHOT_DOMAIN_AW8737A to snapshot domain enumeration
  - Extend m5pm1_snapshot_verify_t with aw8737a_mismatch, expected_aw8737a, actual_aw8737a fields
2.update 1.0.4
2026-01-29 16:23:53 +08:00
onexs-xsi 3d94e60587 1.refactor(irq): unify button IRQ type naming convention
Remove duplicate m5pm1_btn_irq_t type, use m5pm1_irq_btn_t consistently

**BREAKING CHANGE**

Changes:
- Remove m5pm1_btn_irq_t enum type
- Keep m5pm1_irq_btn_t (follows m5pm1_irq_xxx_t naming convention)
- Enum member renaming:
  - M5PM1_BTN_IRQ_CLICK  -> M5PM1_IRQ_BTN_CLICK
  - M5PM1_BTN_IRQ_WAKEUP -> M5PM1_IRQ_BTN_WAKE
  - M5PM1_BTN_IRQ_DOUBLE -> M5PM1_IRQ_BTN_DOUBLE
  - M5PM1_BTN_IRQ_ALL    -> M5PM1_IRQ_BTN_ALL
  - M5PM1_BTN_IRQ_NONE   -> M5PM1_IRQ_BTN_NONE

Affected APIs:
- irqGetBtnStatusEnum()
- irqSetBtnMask()
- irqGetBtnMask()

Migration:
Replace m5pm1_btn_irq_t with m5pm1_irq_btn_t,
Replace M5PM1_BTN_IRQ_* with M5PM1_IRQ_BTN_*

2.update 1.0.3
2026-01-27 15:19:24 +08:00
onexs-xsi 1defbbf802 1. Format the file and update the version to 1.0.2 2026-01-23 11:45:14 +08:00
onexs-xsi 1b11fa1212 1. initial construction 2026-01-14 10:33:24 +08:00