PIC24 Support Libraries
Macros | Functions
esos_pic24_i2c.h File Reference

This file contains routines which configure and use I2C on the Microchip PIC24 MCUs. More...

#include "esos.h"
#include "esos_pic24.h"

Go to the source code of this file.

Macros

#define ESOS_TASK_WAIT_ON_WRITE1I2C1(u8_addr, u8_d1)
 
#define ESOS_TASK_WAIT_ON_WRITE2I2C1(u8_addr, u8_d1, u8_d2)
 
#define ESOS_TASK_WAIT_ON_WRITENI2C1(u8_addr, pu8_d, u16_cnt)
 
#define ESOS_TASK_WAIT_ON_READ1I2C1(u8_addr, u8_d1)
 
#define ESOS_TASK_WAIT_ON_READ2I2C1(u8_addr, u8_d1, u8_d2)
 
#define ESOS_TASK_WAIT_ON_READNI2C1(u8_addr, pu8_d, u16_cnt)
 

Functions

void esos_pic24_configI2C1 (uint16_t u16_FkHZ)
 
 ESOS_CHILD_TASK (__esos_pic24_writeNI2C1, uint8_t u8_addr, uint8_t *pu8_d, uint16_t u16_cnt)
 
 ESOS_CHILD_TASK (__esos_pic24_readNI2C1, uint8_t u8_addr, uint8_t *pu8_d, uint16_t u16_cnt)
 

Detailed Description

This file contains routines which configure and use I2C on the Microchip PIC24 MCUs.

Definition in file esos_pic24_i2c.h.