npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mchp-mcc/scf-avr8-twi-v2

v7.1.6

Published

- Download & Install [nodejs](https://nodejs.org/en/download/) - Download & Install npm - Setup node & npm in enviroment path

Downloads

444

Readme

Two-Wire Interface (TWI)

Overview

The Two-Wire Interface (TWI) is a bidirectional, two-wire communication interface (bus) with a Serial Data Line (SDA) and a Serial Clock Line (SCL).

The TWI bus connects one or several slave devices to one or several master devices. Any device connected to the bus can act as a master, a slave, or both. The master generates the SCL by using a Baud Rate Generator (BRG) and initiates data transactions by addressing one slave and telling whether it wants to transmit or receive data. The BRG is capable of generating the Standard mode (Sm) and Fast mode (Fm, F+) bus frequencies from 100 kHz up to 1MHz.

Changelog

All notable changes to this project will be documented in this file.

[7.1.6] - 2024-12-10

Bug Fixes

  • M8PD-12294 :- Fixed the TWI PLIB to configure the SDA and SCL pins as input by default
  • M8PD-10836 :- Fixed I2C client driver to check for RXACK flag before calling TX_READY or RX_READY event
  • M8PD-10431 :- Simplified TWI client ISR logic
  • M8PD-10408 :- Fixed the logic that checks if the I2C bus is in busy state
  • M8PD-5225 :- Corrected the faulty logic in the I2C client that triggered the TX_READY event right after an address match

New Features and Improvements

  • M8PD-11225 :- Added toggle button on MCC melody UI to enable general call address recognition for I2C Clients

[7.1.5] - 2024-09-27

Bug Fixes

  • M8PD-10703 :- Unit test stage on CICD pipeline and locally passed when the coverage for the module files was lesser than the threshold
  • M8PD-9373 :- Included stddef.h header in the interface files of the I2C/TWI Host and client for successful compilation
  • M8PD-8902 :- Fixed I2C drivers to avoid incorrect occurrence of TX_READY state prior to the ACK reception for the address match
  • M8PD-8843 :- Fixed I2C drivers to enable clock stretching for ack, address or data reception
  • M8PD-6056 :- Fixed the incorrect I2C Client Address initialization
  • M8PD-6055 :- Fixed I2C Client SDA and SCL pin configuration to be (high impedance) input/output pins

New Features and Improvements

  • M8PD-7530 :- Fixed MISRA violations for I2C/TWI firmware
  • M8PD-6082 :- Updated AVR TWI UI to include configurations required for I2C support for MDFU Client

[7.1.4] - 2024-05-14

Bug Fixes

  • M8PD-5219 :- Missing offset on SADDR