Improve in-source documentation that was causing Doxygen warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2025 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
6c39b5dd52
commit
9a5acdc161
|
@ -1058,6 +1058,7 @@ JIM_STATIC int JIM_API( Jim_GetOpt_Obj)( Jim_GetOptInfo *goi, Jim_Obj **puthere
|
||||||
*
|
*
|
||||||
* \param goi - get opt info
|
* \param goi - get opt info
|
||||||
* \param puthere - where param is put
|
* \param puthere - where param is put
|
||||||
|
* \param len - return its length
|
||||||
*/
|
*/
|
||||||
JIM_STATIC int JIM_API( Jim_GetOpt_String )( Jim_GetOptInfo *goi, char **puthere, int *len );
|
JIM_STATIC int JIM_API( Jim_GetOpt_String )( Jim_GetOptInfo *goi, char **puthere, int *len );
|
||||||
|
|
||||||
|
|
|
@ -83,12 +83,14 @@ static int ft2232_handle_latency_command(struct command_context_s* cmd_ctx, char
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function ft2232_stableclocks
|
* Send out \a num_cycles on the TCK line while the TAP(s) are in a
|
||||||
* will send out \a num_cycles on the TCK line while the TAP(s)
|
* stable state. Calling code must ensure that current state is stable,
|
||||||
* are in a stable state. Calling code must ensure that current state is
|
* that verification is not done in here.
|
||||||
* stable, that verification is not done in here.
|
*
|
||||||
* @param num_cycles is the count of clocks cycles to send.
|
* @param num_cycles The number of clocks cycles to send.
|
||||||
* @return int - ERROR_OK or ERROR_JTAG_QUEUE_FAILED
|
* @param cmd The command to send.
|
||||||
|
*
|
||||||
|
* @returns ERROR_OK on success, or ERROR_JTAG_QUEUE_FAILED on failure.
|
||||||
*/
|
*/
|
||||||
static int ft2232_stableclocks(int num_cycles, jtag_command_t* cmd);
|
static int ft2232_stableclocks(int num_cycles, jtag_command_t* cmd);
|
||||||
|
|
||||||
|
@ -231,19 +233,21 @@ static inline u8 buffer_read(void)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function clock_tms
|
* Clocks out \a bit_count bits on the TMS line, starting with the least
|
||||||
* clocks out \a bit_count bits on the TMS line, starting with the least
|
|
||||||
* significant bit of tms_bits and progressing to more significant bits.
|
* significant bit of tms_bits and progressing to more significant bits.
|
||||||
* Rigorous state transition logging is done here via tap_set_state().
|
* Rigorous state transition logging is done here via tap_set_state().
|
||||||
*
|
*
|
||||||
* @param pmsse_cmd is one of the MPSSE TMS oriented commands such as 0x4b or 0x6b. See
|
* @param mpsse_cmd One of the MPSSE TMS oriented commands such as
|
||||||
* the MPSSE spec referenced above for their functionality. The MPSSE command
|
* 0x4b or 0x6b. See the MPSSE spec referenced above for their
|
||||||
* "Clock Data to TMS/CS Pin (no Read)" is often used for this, 0x4b.
|
* functionality. The MPSSE command "Clock Data to TMS/CS Pin (no Read)"
|
||||||
|
* is often used for this, 0x4b.
|
||||||
*
|
*
|
||||||
* @param tms_bits holds the sequence of bits to send.
|
* @param tms_bits Holds the sequence of bits to send.
|
||||||
* @param tms_count tells how many bits in the sequence.
|
* @param tms_count Tells how many bits in the sequence.
|
||||||
* @param tdi_bit is a single bit which is passed on to TDI before the first TCK cycle
|
* @param tdi_bit A single bit to pass on to TDI before the first TCK
|
||||||
* and is held static for the duration of TMS clocking. See the MPSSE spec referenced above.
|
* cycle and held static for the duration of TMS clocking.
|
||||||
|
*
|
||||||
|
* See the MPSSE spec referenced above.
|
||||||
*/
|
*/
|
||||||
static void clock_tms( u8 mpsse_cmd, int tms_bits, int tms_count, bool tdi_bit )
|
static void clock_tms( u8 mpsse_cmd, int tms_bits, int tms_count, bool tdi_bit )
|
||||||
{
|
{
|
||||||
|
|
|
@ -515,7 +515,7 @@ typedef int (*jtag_callback_t)(u8 *in, jtag_callback_data_t data1, jtag_callback
|
||||||
* @param data3 An integer big enough to use as an @c int or a pointer.
|
* @param data3 An integer big enough to use as an @c int or a pointer.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
extern void jtag_add_callback4(jtag_callback_t, u8 *in,
|
extern void jtag_add_callback4(jtag_callback_t f, u8 *in,
|
||||||
jtag_callback_data_t data1, jtag_callback_data_t data2,
|
jtag_callback_data_t data1, jtag_callback_data_t data2,
|
||||||
jtag_callback_data_t data3);
|
jtag_callback_data_t data3);
|
||||||
|
|
||||||
|
|
|
@ -325,7 +325,7 @@ extern int target_run_algorithm(struct target_s *target,
|
||||||
int timeout_ms, void *arch_info);
|
int timeout_ms, void *arch_info);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read @count items of @a size bytes from the memory of @a target at
|
* Read @a count items of @a size bytes from the memory of @a target at
|
||||||
* the @a address given.
|
* the @a address given.
|
||||||
*
|
*
|
||||||
* This routine is a wrapper for target->type->read_memory.
|
* This routine is a wrapper for target->type->read_memory.
|
||||||
|
@ -333,7 +333,7 @@ extern int target_run_algorithm(struct target_s *target,
|
||||||
extern int target_read_memory(struct target_s *target,
|
extern int target_read_memory(struct target_s *target,
|
||||||
u32 address, u32 size, u32 count, u8 *buffer);
|
u32 address, u32 size, u32 count, u8 *buffer);
|
||||||
/**
|
/**
|
||||||
* Write @count items of @a size bytes to the memory of @a target at
|
* Write @a count items of @a size bytes to the memory of @a target at
|
||||||
* the @a address given.
|
* the @a address given.
|
||||||
*
|
*
|
||||||
* This routine is wrapper for target->type->write_memory.
|
* This routine is wrapper for target->type->write_memory.
|
||||||
|
@ -342,7 +342,7 @@ extern int target_write_memory(struct target_s *target,
|
||||||
u32 address, u32 size, u32 count, u8 *buffer);
|
u32 address, u32 size, u32 count, u8 *buffer);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Write @count items of 4 bytes to the memory of @a target at
|
* Write @a count items of 4 bytes to the memory of @a target at
|
||||||
* the @a address given. Because it operates only on whole words,
|
* the @a address given. Because it operates only on whole words,
|
||||||
* this should be faster than target_write_memory().
|
* this should be faster than target_write_memory().
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue