MCPcopy Create free account
hub / github.com/ARMmbed/DAPLink / int2array

Function int2array

source/daplink/interface/swd_host_ca.c:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void int2array(uint8_t *res, uint32_t data, uint8_t len)
88{
89 uint8_t i = 0;
90
91 for (i = 0; i < len; i++) {
92 res[i] = (data >> 8 * i) & 0xff;
93 }
94}
95
96uint8_t swd_transfer_retry(uint32_t req, uint32_t *data)
97{

Callers 6

swd_write_dpFunction · 0.70
swd_write_apFunction · 0.70
swd_ca_select_stateFunction · 0.70
swd_write_blockFunction · 0.70
swd_read_dataFunction · 0.70
swd_write_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected