MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bin2bcd

Function bin2bcd

freebsd/sys/libkern.h:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static inline u_char
68bin2bcd(int bin)
69{
70
71 KASSERT(bin >= 0 && bin < LIBKERN_LEN_BIN2BCD,
72 ("invalid bin %d", bin));
73 return (bin2bcd_data[bin]);
74}
75
76static inline char
77hex2ascii(int hex)

Callers 3

cvmx_rtc_ds1337_writeFunction · 0.50
max77620_rtc_settimeFunction · 0.50
as3722_rtc_settimeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected