[riot-devel] CC2538 RF Driver Data Types

Jason A. Tran jasontra at usc.edu
Tue Aug 16 22:31:53 CEST 2016

Hi All,

According to the CC2538 user manual, some of the register values from the
radio are signed. The current RF driver uses uint_fast8_t as the return
type of rfcore_read_byte(). Is it generally safe to typecast the return
value to a signed integer? If not, what's the best way to handle this?

Best Regards,
Jason Tran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160816/65fc7862/attachment.html>

More information about the devel mailing list