• initialization of packed unsigned int
    I am trying to implement Mass storage device class using nxpusblib and got stuck in initialization of a packed structure. The structure is typedef ATTR_IAR_PACKED struct { unsigned DeviceType : 5;...
  • initialization of packed unsigned int
    I am trying to implement Mass storage device class using nxpusblib and got stuck in initialization of a packed structure. The structure is typedef ATTR_IAR_PACKED struct { unsigned DeviceType : 5;...
  • uVision 5.29.0.0 WIN 10 PC new project. No device in “Select a device for target1” form's left box. My Device is ATSAME54P20A and is displayed in left column of Pack Installer. All packs/examples “up to...
    I have searched for and have tried many suggestions but nothing seems to solve the problem. I am missing something or make the same mistake over and over. Please help.
  • uVision 5.29.0.0 WIN 10 PC new project. No device in “Select a device for target1” form's left box. My Device is ATSAME54P20A and is displayed in left column of Pack Installer. All packs/examples “up to...
    I have searched for and have tried many suggestions but nothing seems to solve the problem. I am missing something or make the same mistake over and over. Please help.
  • atoi and int value into unsigned char
    Can i store a int into a char if result is less than 255 ? or i need to store only the lower byte? unsigned char mychar[10]; unsigned int intvalue; intvalue = 1000; intvalue = 1000 - 950;//value...