0 Replies Latest reply on Jun 26, 2013 1:53 PM by userc_43406

    Adding names to status register bits

              Is there any way to add names to bits in a status register? What I want to be able to do is add actual names to the internal signal so the mask can have a meaningful name. The file cyfitter.h creates a mask for each bit used but is very non-descriptive. For examle: #define Status_Test_Register_sts_sts_reg__0__MASK 0x01u #define Status_Test_Register_sts_sts_reg__0__POS 0 What would be useful is more along the lines of: #define SWITCH_INPUT_MASK 0x01u #define SWITCH_INPUT_POS 0