8 #ifndef _SYSIO_TLC59116_H_ 9 #define _SYSIO_TLC59116_H_ 11 #include <sysio/defs.h> 53 #define TLC59116_ADDR_BASE 0x60 65 #define TLC59116_ADDR(_a3,_a2,_a1,_a0) \ 66 ((TLC59116_ADDR_BASE) + ((_a3)*16)+((_a2)*8)+((_a1)*4)+((_a0)*2)) 81 #define TLC59116_IREF(_cm,_hc,_cc) ((((_cm)&1)<<7)+(((_hc)&1)<<6)+((_cc)&0x3F)) Configuration d'une Led connectée à un TLC59116.
xTlc59116Pin blue
broche de commande du bleu
Broche d'un TLC59116.
Configuration d'un contrôleur TLC59116.
int out
numéro de la sortie entre 0 et 15 (/OUT0 à /OUT15)
int ctrl
numéro de contrôleur 0 à (nof_ctrl - 1)
xTlc59116Pin red
broche de commande du rouge
xTlc59116Pin green
broche de commande du vert
struct xTlc59116Pin xTlc59116Pin
Broche d'un TLC59116.
struct xTlc59116Led xTlc59116Led
Configuration d'une Led connectée à un TLC59116.
struct xTlc59116Config xTlc59116Config
Configuration d'un contrôleur TLC59116.