Nxp cypress i2c driver download






















This is an example. The callback is always invoked from the interrupt context. The set of events received by the callback is customizable. Alternatively, pass 0 to get a default set of only the transmit and receive events that are always enabled. Data Structures Typedefs Enumerations. Note These enumerations are meant to be OR'd together to form a bit mask of events.

Note This API should be called at the beginning of the application. Otherwise, any operation to the I2C module can cause a hard fault because the clock is not enabled. After calling this API, the master is ready to transfer. Parameters base I2C base pointer. Parameters base I2C base pointer enable Pass true to enable and false to disable the module. Parameters base I2C base pointer enable true to enable, false to disable. Parameters base I2C base pointer Returns data register address.

Parameters base I2C peripheral base pointer address 7-bit slave device address. Parameters base The I2C peripheral base pointer. Without stopping the bus prior for the final read, the bus issues another read, resulting in garbage data being read into the data register. Parameters base I2C peripheral base pointer. Parameters base I2C peripheral base address.

Note Calling the API returns immediately after transfer initiates. Note This API can be called at any time when an interrupt non-blocking transfer initiates to abort the transfer early. Parameters base The I2C peripheral base address. Note This API can be called at any time to stop slave for handling the bus events. All rights reserved. I2C master user configuration. I2C slave user configuration. I2C master transfer structure.

I2C master handle structure. I2C slave transfer structure. I2C slave handle structure. I2C master transfer callback typedef. I2C slave transfer callback typedef. I2C status return codes. I2C peripheral flags. MX Developer Resources The essential tools to get stated developing with i. Sensor Toolbox Complete ecosystem for product development encompassing a wide spectrum of sensor evaluation hardware and software. Embedded Application Software NXP supplies software delivering key functions or complete solutions for various applications.

Embedded Software Find drivers and BSPs, different NXP-compatible embedded operating systems, libraries and code snippets that will help you accelerate your embedded application development time. CodeWarrior Suites Provides a visual and automated framework to accelerate development of the most complex embedded applications. S32 Design Studio IDE A complimentary straightforward development tool based on open-source software, with no code-size limitations that enable editing, compiling and debugging.

Featured SDKs View all. Have a quick question? Ask the community. Any copies of the Software that you have already distributed, where permitted, and do not destroy will continue to be governed by this Agreement. Your prior use will also continue to be governed by this Agreement. You must prohibit your sublicensees from translating, reverse engineering, decompiling, or disassembling the Software except to the extent applicable law specifically prohibits such restriction.

If you violate any of the terms or restrictions of this Agreement, Freescale may immediately terminate this Agreement, and require that you stop using and delete all copies of the Software in your possession or control. The Software is licensed to you, not sold. Freescale owns the Software, and United States copyright laws and international treaty provisions protect the Software. Therefore, you must treat the Software like any other copyrighted material e.

You may not use or copy the Software for any other purpose than what is described in this Agreement. Except as expressly provided herein, Freescale does not grant to you any express or implied rights under any Freescale or third-party patents, copyrights, trademarks, or trade secrets. Additionally, you must reproduce and apply any copyright or other proprietary rights notices included on or embedded in the Software to any copies or derivative works made thereof, in whole or in part, if any.

Freescale is NOT obligated to provide any support, upgrades or new releases of the Software.



0コメント

  • 1000 / 1000