38 Commits

Author SHA1 Message Date
onexs-xsi 3f84249a51 Update clang-format-action 1.0.5 2026-02-28 10:39:48 +08:00
onexs-xsi 2e57a97a7f .clang-format 2026-02-28 10:02:53 +08:00
onexs-xsi 3150cde489 1. Improve the log system 2026-02-28 09:21:22 +08:00
onexs-xsi 7eebe72c8a 1. Add M5PM1_OTHER definition
2. Revise the example code
2026-02-27 12:24:53 +08:00
onexs-xsi c0f543e050 1. Add support for m5::I2C_Class under Arduino 2026-02-27 11:20:53 +08:00
onexs-xsi ed22640984 1. Optimize the content related to I2C_RETRY 2026-02-26 18:12:11 +08:00
onexs-xsi 665bf2adb5 1. Optimize the description of i2c_bus-related usage 2026-02-26 17:43:17 +08:00
onexs-xsi 5bad7526f4 1. Support for the M5Unified I2C_Class driver 2026-02-26 15:10:20 +08:00
onexs-xsi 26601f40c7 1. Add i2c Legacy API support 2026-02-24 15:51:40 +08:00
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 de2dab8e1a 1. update README_FUNCTION 2026-01-29 16:35:29 +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
1.0.4
2026-01-29 16:23:53 +08:00
onexs-xsi 30a2e0ef2c 1. Revise the timerSet function 2026-01-29 10:17:11 +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
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 1.0.2 2026-01-23 11:45:14 +08:00
onexs-xsi 5cb4b5270e 1. fix m5pm1_btn_delay_t 1.0.1 2026-01-22 15:38:56 +08:00
onexs-xsi c4493b9c14 1. Manually revise the register comments 2026-01-22 15:28:49 +08:00
onexs-xsi 98dad8a113 1. Improve the annotations and revise the description of 5VINOUT 2026-01-22 14:53:14 +08:00
onexs-xsi cdebe781cc 1. Adjust the order of irq series functions 2026-01-22 12:17:19 +08:00
onexs-xsi df028983d9 1. Fix README_FUNCTION 2026-01-22 10:11:53 +08:00
onexs-xsi de6db33fbd 1. Optimize irq-clean related content 2026-01-22 10:02:43 +08:00
onexs-xsi 67652d59f3 1. Optimize irq-related content 2026-01-22 09:50:42 +08:00
onexs-xsi 0768467668 1. Add examples and fix some code 2026-01-21 17:08:09 +08:00
onexs-xsi 7ad8d28857 1. Formatted example text 2026-01-21 15:48:44 +08:00
onexs-xsi e2ccec30c3 1. Format the project text and fix some issues 2026-01-21 15:34:26 +08:00