This is an old revision of the document!
LED
On the CT Board are 32 LEDs mounted. They are arranged in 4 groups of 8 LEDs and are “active-high”.
E.g. the LEDs are on if a logical “1” is written.
Programming Example
The code snippet bellow shows how to use the LEDs.
#include "reg_ctboard.h" CT_LED->BYTE.LED7_0 = (uint8_t) data_byte; /* Write byte of data to LED7..0. */ CT_LED->HWORD.LED15_0 = (uint16_t) data_halfword; /* Write half word of data to LED15..0. */ CT_LED->WORD = (uint32_t) data_word; /* Write word of data to all LEDs. */