Anonymous
Not applicable
Jun 26, 2013
01:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 26, 2013
01:53 PM
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
0 Replies