diff options
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/target.h b/src/target/target.h index ad1699d3..b2e4c61e 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -380,17 +380,17 @@ extern target_event_callback_t *target_event_callbacks; extern target_timer_callback_t *target_timer_callbacks; extern u32 target_buffer_get_u32(target_t *target, const uint8_t *buffer); -extern u16 target_buffer_get_u16(target_t *target, const uint8_t *buffer); +extern uint16_t target_buffer_get_u16(target_t *target, const uint8_t *buffer); extern uint8_t target_buffer_get_u8 (target_t *target, const uint8_t *buffer); extern void target_buffer_set_u32(target_t *target, uint8_t *buffer, u32 value); -extern void target_buffer_set_u16(target_t *target, uint8_t *buffer, u16 value); +extern void target_buffer_set_u16(target_t *target, uint8_t *buffer, uint16_t value); extern void target_buffer_set_u8 (target_t *target, uint8_t *buffer, uint8_t value); int target_read_u32(struct target_s *target, u32 address, u32 *value); -int target_read_u16(struct target_s *target, u32 address, u16 *value); +int target_read_u16(struct target_s *target, u32 address, uint16_t *value); int target_read_u8(struct target_s *target, u32 address, uint8_t *value); int target_write_u32(struct target_s *target, u32 address, u32 value); -int target_write_u16(struct target_s *target, u32 address, u16 value); +int target_write_u16(struct target_s *target, u32 address, uint16_t value); int target_write_u8(struct target_s *target, u32 address, uint8_t value); /* Issues USER() statements with target state information */ |