µTasker Forum
June 19, 2013, 03:39:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: March 2012: uTasker KINETIS and STM32 release versions available.
Follow uTasker updates at www.twitter.com/uTasker !!

Online Forum registration has now been disabled. Please send an email to an address at the bottom of the home page with your preferred user name and email address if you would like an account.
 
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: MC23016 of Microchip  (Read 1253 times)
Jacobo
Newbie
*
Offline Offline

Posts: 9


View Profile
« on: January 05, 2009, 03:16:57 AM »

Hi Mark!

I'm using the M52233DEMO with uTaskerv1.3.0_SP6.

I need to connect a port expander for IIC MC23016 Microchip.
In what Files you recommend placing the code.

Thanks
Logged
mark
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2479



View Profile WWW
« Reply #1 on: January 05, 2009, 10:16:40 AM »

Hi Jacobo

There is some I2C demo code in application.c and a guide to using it at http://www.utasker.com/docs/uTasker/uTaskerIIC_002.PDF

As to where it is best placed in your own project depends on your preference. If you are only using the interface for output commands can be easily sent from anywhere (open the port in any task and use its 'global' handle from any place). If you are also reading data in, it may be better to concentrate control in a single task since a task is defined for reception. To be completely modular you could even add a new task which is purely used to control the interface.

Regards

Mark
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Copyright © 2013 utasker.com. Webdesign and Hosting by e-future.ch 2013
Valid XHTML 1.0! Valid CSS!
Page created in 0.045 seconds with 19 queries.