Skip to content

Implemented src file

sujal patel requested to merge sujal-dev into master
  • Formatting and new function structure implemented: Refactored cat24xx.c around cat24xx_control_type* p_handle with geometry lookup tables and clean formatting
  • Function pointers: Wired pf_i2c_write, pf_i2c_read, and pf_delay_ms with 7-bit m_device_addr
  • Safe address framing: Used addr_buf and temp_array for 2-byte memory addresses without overwriting caller buffers
  • Bounds & clamping: Added page/offset clamping and memory/page end checks
  • Page & erase flow: Updated single/multi-page loops and erase helpers with 5 ms write-cycle delay (CAT24XX_WRITE_CYCLE_DELAY_MS)

Merge request reports

Loading