int32 co_register_get(co_register reg); Header Fileco.h DescriptionThis function reads the contents of a register. This function must be called from within a process run function. ArgumentsThe argument for co_register_get is as follows:
Return ValueThe value of the register is returned as a 32-bit integer. If the register is wider than 32 bits, the least-significant 32 bits of data are returned as an integer. If the register is smaller than 32 bits, the integer value of the data in the register is returned. |